Package org.gnome.adw
Class Application.Builder<B extends Application.Builder<B>>
java.lang.Object
io.github.jwharm.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gio.Application.Builder<B>
org.gnome.gtk.Application.Builder<B>
org.gnome.adw.Application.Builder<B>
- Type Parameters:
B
- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
Application
public static class Application.Builder<B extends Application.Builder<B>>
extends Application.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.gnome.gtk.Application.Builder
onQueryEnd, onWindowAdded, onWindowRemoved, setMenubar, setRegisterSession
Methods inherited from class org.gnome.gio.Application.Builder
onActivate, onCommandLine, onHandleLocalOptions, onNameLost, onOpen, onShutdown, onStartup, setActionGroup, setApplicationId, setFlags, setFlags, setInactivityTimeout, setResourceBasePath, setVersion
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 theApplication
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 toApplication
.- Overrides:
build
in classApplication.Builder<B extends Application.Builder<B>>
- Returns:
- a new instance of
Application
with the properties that were set in the Builder object.
-