Class CellAreaContext.Builder<B extends CellAreaContext.Builder<B>>

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

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

      @Deprecated public B setArea(CellArea area)
      Deprecated.
      This object will be removed in GTK 5
      The GtkCellArea this context was created by
      Parameters:
      area - the value for the area property
      Returns:
      the Builder instance is returned, to allow method chaining