Class ListHeader.Builder<B extends ListHeader.Builder<B>>

Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
ListHeader

public static class ListHeader.Builder<B extends ListHeader.Builder<B>> extends GObject.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
Since:
4.12
  • Constructor Details

    • Builder

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

    • build

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

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