Package org.gnome.gtk
Class CellAreaBox.Builder<B extends CellAreaBox.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gobject.InitiallyUnowned.Builder<B>
org.gnome.gtk.CellArea.Builder<B>
org.gnome.gtk.CellAreaBox.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
Orientable.Builder<B>,BuilderInterface
- Enclosing class:
CellAreaBox
public static class CellAreaBox.Builder<B extends CellAreaBox.Builder<B>>
extends CellArea.Builder<B>
implements Orientable.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finish building theCellAreaBoxobject.setSpacing(int spacing) The amount of space to reserve between cells.Methods inherited from class org.gnome.gtk.CellArea.Builder
onAddEditable, onApplyAttributes, onFocusChanged, onRemoveEditable, setFocusCellMethods inherited from class org.gnome.gobject.GObject.Builder
onNotifyMethods inherited from class org.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.javagi.gobject.BuilderInterface
addBuilderProperty, connect, connect, getArenaMethods inherited from interface org.gnome.gtk.Orientable.Builder
setOrientation
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilderobject.
-
-
Method Details
-
build
Finish building theCellAreaBoxobject. This will callGObject.withProperties(org.gnome.glib.Type, java.lang.String[], org.gnome.gobject.Value[])to create a new GObject instance, which is then cast toCellAreaBox.- Overrides:
buildin classCellArea.Builder<B extends CellAreaBox.Builder<B>>- Returns:
- a new instance of
CellAreaBoxwith the properties that were set in the Builder object.
-
setSpacing
The amount of space to reserve between cells.- Parameters:
spacing- the value for thespacingproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-