Class BindingGroup.Builder<B extends BindingGroup.Builder<B>>

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

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

    • Builder

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

    • build

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

      public B setSource(GObject source)
      The source object used for binding properties.
      Parameters:
      source - the value for the source property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      2.72