Class FixedLayoutChild.Builder<B extends FixedLayoutChild.Builder<B>>

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

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

      public B setTransform(Transform transform)
      The transform of the child.
      Parameters:
      transform - the value for the transform property
      Returns:
      the Builder instance is returned, to allow method chaining