Package org.gnome.gtk
Class ColumnViewCell.Builder<B extends ColumnViewCell.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gtk.ListItem.Builder<B>
org.gnome.gtk.ColumnViewCell.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
ColumnViewCell
public static class ColumnViewCell.Builder<B extends ColumnViewCell.Builder<B>>
extends ListItem.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finish building theColumnViewCellobject.Widget used for display.setFocusable(boolean focusable) If the item can be focused with the keyboard.Methods inherited from class org.gnome.gtk.ListItem.Builder
setAccessibleDescription, setAccessibleLabel, setActivatable, setSelectableMethods 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 theColumnViewCellobject. 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 toColumnViewCell.- Overrides:
buildin classListItem.Builder<B extends ColumnViewCell.Builder<B>>- Returns:
- a new instance of
ColumnViewCellwith the properties that were set in the Builder object.
-
setChild
Widget used for display.- Overrides:
setChildin classListItem.Builder<B extends ColumnViewCell.Builder<B>>- Parameters:
child- the value for thechildproperty- Returns:
- the
Builderinstance is returned, to allow method chaining - Since:
- 4.12
-
setFocusable
If the item can be focused with the keyboard.- Overrides:
setFocusablein classListItem.Builder<B extends ColumnViewCell.Builder<B>>- Parameters:
focusable- the value for thefocusableproperty- Returns:
- the
Builderinstance is returned, to allow method chaining - Since:
- 4.12
-