Class AccessibleHyperlink
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInstance
org.gnome.gobject.GObject
org.gnome.gtk.AccessibleHyperlink
- All Implemented Interfaces:
Accessible, Proxy
@Generated("org.javagi.JavaGI")
public class AccessibleHyperlink
extends GObject
implements Accessible
Represents a link (i.e. a uri).
A widget that contains one or more links should implement
the AccessibleHypertext interface and return
GtkAccessibleHyperlink objects for each of the links.
- Since:
- 4.22
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classInner class implementing a builder pattern to construct a GObject with properties.Nested classes/interfaces inherited from class GObject
GObject.NotifyCallback, GObject.ObjectClassNested classes/interfaces inherited from interface Accessible
Accessible.Accessible$Impl, Accessible.AccessibleInterface -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new AccessibleHyperlink.AccessibleHyperlink(MemorySegment address) Create a AccessibleHyperlink instance for the provided memory address.AccessibleHyperlink(AccessibleHypertext parent, int index, String uri, AccessibleTextRange bounds) Creates an accessible object that represents a hyperlink. -
Method Summary
Modifier and TypeMethodDescriptionprotected AccessibleHyperlinkasParent()Return this instance as if it were its parent type.static AccessibleHyperlink.Builder<? extends AccessibleHyperlink.Builder> builder()AAccessibleHyperlink.Builderobject constructs aAccessibleHyperlinkwith the specified properties.static MemoryLayoutThe memory layout of the native struct.static @Nullable TypegetType()Get the GType of the AccessibleHyperlink class.voidsetPlatformState(AccessiblePlatformState state, boolean enabled) Sets a platform state on the accessible.Methods inherited from class GObject
addToggleRef, addWeakPointer, bindProperty, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, connect, constructed, disconnect, dispatchPropertiesChanged, dispose, dupData, dupQdata, emit, emitNotify, finalize_, forceFloating, freezeNotify, get, getData, getProperty, getProperty, getProperty, getQdata, getv, interfaceFindProperty, interfaceInstallProperty, interfaceListProperties, isFloating, newInstance, newInstance, newv, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, removeWeakPointer, replaceData, replaceQdata, runDispose, set, setData, setDataFull, setProperty, setProperty, setProperty, setQdata, setQdataFull, setv, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref, withPropertiesMethods inherited from class TypeInstance
callParent, callParent, cast, getPrivate, readGClass, writeGClassMethods inherited from class ProxyInstance
equals, handle, hashCodeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Accessible
announce, getAccessibleId, getAccessibleParent, getAccessibleRole, getAtContext, getBounds, getFirstAccessibleChild, getNextAccessibleSibling, getPlatformState, resetProperty, resetRelation, resetState, setAccessibleParent, updateNextAccessibleSibling, updatePlatformState, updateProperty, updateRelation, updateState
-
Constructor Details
-
AccessibleHyperlink
Create a AccessibleHyperlink instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
AccessibleHyperlink
public AccessibleHyperlink(AccessibleHypertext parent, int index, String uri, AccessibleTextRange bounds) Creates an accessible object that represents a hyperlink.
This is meant to be used with an implementation of the
AccessibleHypertextinterface.- Parameters:
parent- the parentindex- the index of this link in the parenturi- the uribounds- the text range that the link occupies (or 0, 0)- Since:
- 4.22
-
AccessibleHyperlink
public AccessibleHyperlink()Create a new AccessibleHyperlink.
-
-
Method Details
-
getType
Get the GType of the AccessibleHyperlink class.- Returns:
- the GType
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
asParent
Return this instance as if it were its parent type. Comparable to the Javasuperkeyword, but ensures the parent typeclass is also used in native code. -
setPlatformState
Sets a platform state on the accessible.- Parameters:
state- the platform state to changeenabled- the new value for the platform state- Since:
- 4.22
-
builder
AAccessibleHyperlink.Builderobject constructs aAccessibleHyperlinkwith the specified properties. Use the variousset...()methods to set properties, and finish construction withAccessibleHyperlink.Builder.build().- Returns:
- the builder object
-