Package org.gnome.gtk
Class ATContext.Builder<B extends ATContext.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gtk.ATContext.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
ATContext
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finish building theATContextobject.Emitted when the attributes of the accessible for theGtkATContextinstance change.setAccessible(Accessible accessible) TheGtkAccessiblethat created theGtkATContextinstance.setAccessibleRole(AccessibleRole accessibleRole) The accessible role used by the AT context.setDisplay(Display display) TheGdkDisplayfor theGtkATContext.Methods inherited from class org.gnome.gobject.GObject.Builder
onNotifyMethods inherited from class org.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilderobject.
-
-
Method Details
-
build
Finish building theATContextobject. 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 toATContext.- Overrides:
buildin classGObject.Builder<B extends ATContext.Builder<B>>- Returns:
- a new instance of
ATContextwith the properties that were set in the Builder object.
-
setAccessible
TheGtkAccessiblethat created theGtkATContextinstance.- Parameters:
accessible- the value for theaccessibleproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
setAccessibleRole
The accessible role used by the AT context.Depending on the given role, different states and properties can be set or retrieved.
- Parameters:
accessibleRole- the value for theaccessible-roleproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
setDisplay
-
onStateChange
Emitted when the attributes of the accessible for theGtkATContextinstance change.- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-