Class EditableLabel.Builder<B extends EditableLabel.Builder<B>>

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

public static class EditableLabel.Builder<B extends EditableLabel.Builder<B>> extends Widget.Builder<B> implements Accessible.Builder<B>, Editable.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
  • Constructor Details

    • Builder

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

    • build

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

      public B setEditing(boolean editing)
      This property is true while the widget is in edit mode.
      Parameters:
      editing - the value for the editing property
      Returns:
      the Builder instance is returned, to allow method chaining