Class SpinnerPaintable.Builder<B extends SpinnerPaintable.Builder<B>>

java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.adw.SpinnerPaintable.Builder<B>
Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
SpinnerPaintable

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

      public B setWidget(Widget widget)
      The widget the spinner uses for frame clock.
      Parameters:
      widget - the value for the widget property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      1.6