Package org.gnome.gtk
Class FilterListModel.Builder<B extends FilterListModel.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gtk.FilterListModel.Builder<B>
- Type Parameters:
B
- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
FilterListModel<T extends GObject>
public static class FilterListModel.Builder<B extends FilterListModel.Builder<B>>
extends GObject.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finish building theFilterListModel
object.The filter for this model.setIncremental
(boolean incremental) If the model should filter items incrementally.The model being filtered.Methods inherited from class org.gnome.gobject.GObject.Builder
onNotify
Methods inherited from class org.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 theFilterListModel
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 toFilterListModel
.- Overrides:
build
in classGObject.Builder<B extends FilterListModel.Builder<B>>
- Returns:
- a new instance of
FilterListModel
with the properties that were set in the Builder object.
-
setFilter
-
setIncremental
If the model should filter items incrementally.- Parameters:
incremental
- the value for theincremental
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setModel
-