Package org.gnome.adw
Class LeafletPage.Builder<B extends LeafletPage.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.adw.LeafletPage.Builder<B>
- Type Parameters:
B
- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
LeafletPage
public static class LeafletPage.Builder<B extends LeafletPage.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 theLeafletPage
object.Deprecated.See the migration guideDeprecated.setNavigatable
(boolean navigatable) Deprecated.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 theLeafletPage
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 toLeafletPage
.- Overrides:
build
in classGObject.Builder<B extends LeafletPage.Builder<B>>
- Returns:
- a new instance of
LeafletPage
with the properties that were set in the Builder object.
-
setChild
Deprecated.The leaflet child to which the page belongs.- Parameters:
child
- the value for thechild
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setName
Deprecated.The name of the child page.- Parameters:
name
- the value for thename
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-