Package org.gnome.gtk
Class ColumnViewCell.Builder<B extends ColumnViewCell.Builder<B>>
java.lang.Object
io.github.jwharm.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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finish building theColumnViewCell
object.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, setSelectable
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 theColumnViewCell
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 toColumnViewCell
.- Overrides:
build
in classListItem.Builder<B extends ColumnViewCell.Builder<B>>
- Returns:
- a new instance of
ColumnViewCell
with the properties that were set in the Builder object.
-
setChild
Widget used for display.- Overrides:
setChild
in classListItem.Builder<B extends ColumnViewCell.Builder<B>>
- Parameters:
child
- the value for thechild
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setFocusable
If the item can be focused with the keyboard.- Overrides:
setFocusable
in classListItem.Builder<B extends ColumnViewCell.Builder<B>>
- Parameters:
focusable
- the value for thefocusable
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-