Package org.gnome.gtk
Class CellArea.Builder<B extends CellArea.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>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Direct Known Subclasses:
CellAreaBox.Builder
- Enclosing class:
CellArea
public static class CellArea.Builder<B extends CellArea.Builder<B>>
extends InitiallyUnowned.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finish building theCellAreaobject.Indicates that editing has started onrendererand thateditableshould be added to the owning cell-layouting widget atcellArea.This signal is emitted whenever applying attributes toareafrommodelIndicates that focus changed on thisarea.This signal is emitted either as a result of focus handling or event handling.Indicates that editing finished onrendererand thateditableshould be removed from the owning cell-layouting widget.setFocusCell(CellRenderer focusCell) The cell in the area that currently has focusMethods inherited from class org.gnome.gobject.GObject.Builder
onNotifyMethods inherited from class org.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilderobject.
-
-
Method Details
-
build
Finish building theCellAreaobject. 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 toCellArea.- Overrides:
buildin classInitiallyUnowned.Builder<B extends CellArea.Builder<B>>- Returns:
- a new instance of
CellAreawith the properties that were set in the Builder object.
-
setFocusCell
The cell in the area that currently has focus- Parameters:
focusCell- the value for thefocus-cellproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
onAddEditable
Indicates that editing has started onrendererand thateditableshould be added to the owning cell-layouting widget atcellArea.- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-
onApplyAttributes
This signal is emitted whenever applying attributes toareafrommodel- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-
onFocusChanged
Indicates that focus changed on thisarea.This signal is emitted either as a result of focus handling or event handling.It's possible that the signal is emitted even if the currently focused renderer did not change, this is because focus may change to the same renderer in the same cell area for a different row of data.
- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-
onRemoveEditable
Indicates that editing finished onrendererand thateditableshould be removed from the owning cell-layouting widget.- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-