Package org.gnome.gtk
Class CellArea.Builder<B extends CellArea.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>
- 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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finish building theCellArea
object.Indicates that editing has started onrenderer
and thateditable
should be added to the owning cell-layouting widget atcellArea
.This signal is emitted whenever applying attributes toarea
frommodel
Indicates that focus changed on thisarea
.Indicates that editing finished onrenderer
and thateditable
should 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
onNotify
Methods inherited from class io.github.jwharm.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilder
object.
-
-
Method Details
-
build
Finish building theCellArea
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 toCellArea
.- Overrides:
build
in classInitiallyUnowned.Builder<B extends CellArea.Builder<B>>
- Returns:
- a new instance of
CellArea
with 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-cell
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
onAddEditable
Indicates that editing has started onrenderer
and thateditable
should be added to the owning cell-layouting widget atcellArea
.- Parameters:
handler
- the signal handler- Returns:
- the
Builder
instance is returned, to allow method chaining - See Also:
-
onApplyAttributes
This signal is emitted whenever applying attributes toarea
frommodel
- Parameters:
handler
- the signal handler- Returns:
- the
Builder
instance 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
Builder
instance is returned, to allow method chaining - See Also:
-
onRemoveEditable
Indicates that editing finished onrenderer
and thateditable
should be removed from the owning cell-layouting widget.- Parameters:
handler
- the signal handler- Returns:
- the
Builder
instance is returned, to allow method chaining - See Also:
-