Class BreakpointBin.Builder<B extends BreakpointBin.Builder<B>>

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

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

    • Builder

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

    • build

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

      public B setChild(Widget child)
      The child widget.
      Parameters:
      child - the value for the child property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      1.4