Class ActionBar.Builder<B extends ActionBar.Builder<B>>

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

public static class ActionBar.Builder<B extends ActionBar.Builder<B>> extends Widget.Builder<B> implements Accessible.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 ActionBar build()
      Finish building the ActionBar object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to ActionBar.
      Overrides:
      build in class Widget.Builder<B extends ActionBar.Builder<B>>
      Returns:
      a new instance of ActionBar with the properties that were set in the Builder object.
    • setRevealed

      public B setRevealed(boolean revealed)
      Controls whether the action bar shows its contents.
      Parameters:
      revealed - the value for the revealed property
      Returns:
      the Builder instance is returned, to allow method chaining