Package org.gnome.gtk
Class CellAreaBox.Builder<B extends CellAreaBox.Builder<B>>
java.lang.Object
io.github.jwharm.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:
BuilderInterface
,Orientable.Builder<B>
- 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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finish building theCellAreaBox
object.setSpacing
(int spacing) The amount of space to reserve between cells.Methods inherited from class org.gnome.gtk.CellArea.Builder
onAddEditable, onApplyAttributes, onFocusChanged, onRemoveEditable, setFocusCell
Methods inherited from class org.gnome.gobject.GObject.Builder
onNotify
Methods inherited from class io.github.jwharm.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.jwharm.javagi.gobject.BuilderInterface
addBuilderProperty, connect, connect, getArena
Methods inherited from interface org.gnome.gtk.Orientable.Builder
setOrientation
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilder
object.
-
-
Method Details
-
build
Finish building theCellAreaBox
object. 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:
build
in classCellArea.Builder<B extends CellAreaBox.Builder<B>>
- Returns:
- a new instance of
CellAreaBox
with the properties that were set in the Builder object.
-
setSpacing
The amount of space to reserve between cells.- Parameters:
spacing
- the value for thespacing
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-