Package org.gnome.gtk
Class AssistantPage.Builder<B extends AssistantPage.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gtk.AssistantPage.Builder<B>
- Type Parameters:
B
- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
AssistantPage
public static class AssistantPage.Builder<B extends AssistantPage.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 theAssistantPage
object.Deprecated.This object will be removed in GTK 5setComplete
(boolean complete) Deprecated.This object will be removed in GTK 5setPageType
(AssistantPageType pageType) Deprecated.This object will be removed in GTK 5Deprecated.This object will be removed in GTK 5Methods 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 theAssistantPage
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 toAssistantPage
.- Overrides:
build
in classGObject.Builder<B extends AssistantPage.Builder<B>>
- Returns:
- a new instance of
AssistantPage
with the properties that were set in the Builder object.
-
setChild
Deprecated.This object will be removed in GTK 5The child widget.- Parameters:
child
- the value for thechild
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setComplete
Deprecated.This object will be removed in GTK 5Whether all required fields are filled in.GTK uses this information to control the sensitivity of the navigation buttons.
- Parameters:
complete
- the value for thecomplete
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setPageType
Deprecated.This object will be removed in GTK 5The type of the assistant page.- Parameters:
pageType
- the value for thepage-type
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setTitle
Deprecated.This object will be removed in GTK 5The title of the page.- Parameters:
title
- the value for thetitle
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-