Package org.gnome.gtk
Class ColumnViewRow.Builder<B extends ColumnViewRow.Builder<B>>
java.lang.Object
io.github.jwharm.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gtk.ColumnViewRow.Builder<B>
- Type Parameters:
B
- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
ColumnViewRow
public static class ColumnViewRow.Builder<B extends ColumnViewRow.Builder<B>>
extends GObject.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finish building theColumnViewRow
object.setAccessibleDescription
(String accessibleDescription) The accessible description to set on the row.setAccessibleLabel
(String accessibleLabel) The accessible label to set on the row.setActivatable
(boolean activatable) If the row can be activated by the user.setFocusable
(boolean focusable) If the row can be focused with the keyboard.setSelectable
(boolean selectable) If the row can be selected by the user.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
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilder
object.
-
-
Method Details
-
build
Finish building theColumnViewRow
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 toColumnViewRow
.- Overrides:
build
in classGObject.Builder<B extends ColumnViewRow.Builder<B>>
- Returns:
- a new instance of
ColumnViewRow
with the properties that were set in the Builder object.
-
setAccessibleDescription
-
setAccessibleLabel
-
setActivatable
If the row can be activated by the user.- Parameters:
activatable
- the value for theactivatable
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setFocusable
If the row can be focused with the keyboard.- Parameters:
focusable
- the value for thefocusable
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setSelectable
If the row can be selected by the user.- Parameters:
selectable
- the value for theselectable
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-