Class MultiLayoutView.Builder<B extends MultiLayoutView.Builder<B>>

Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
Accessible.Builder<B>, BuilderInterface
Enclosing class:
MultiLayoutView

public static class MultiLayoutView.Builder<B extends MultiLayoutView.Builder<B>> extends Widget.Builder<B> implements Accessible.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
Since:
1.6
  • Constructor Details

    • Builder

      protected Builder()
      Default constructor for a Builder object.
  • Method Details

    • build

      public MultiLayoutView build()
      Finish building the MultiLayoutView object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to MultiLayoutView.
      Overrides:
      build in class Widget.Builder<B extends MultiLayoutView.Builder<B>>
      Returns:
      a new instance of MultiLayoutView with the properties that were set in the Builder object.
    • setLayout

      public B setLayout(Layout layout)
      The currently used layout.
      Parameters:
      layout - the value for the layout property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      1.6
    • setLayoutName

      public B setLayoutName(String layoutName)

      The name of the currently used layout.

      See Layout:name.

      Parameters:
      layoutName - the value for the layout-name property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      1.6