Class LayoutExample

java.lang.Object
limn.demo.site.LayoutExample

public final class LayoutExample extends Object
The worked window the guide's Layout page is built from: an asset library with a toolbar, a sidebar, a tile grid and a status bar, assembled out of the primitives that page teaches, and nothing else.

Every region marked here becomes a code block on that page, and this file is compiled by ./gradlew check. Each helper is used by shell(), so the screenshot on the page shows every snippet on it doing its job.

  • Method Details

    • shell

      public static Widget shell()
      The window: a fixed-height bar, a pair of panes that take everything left over, and a status line. The middle child is the only Expanded one, which is what makes the window's spare height land there and nowhere else.
    • scene

      public static Scene scene()
      The shell on a canvas, for the capture the guide page shows.