Class BackForwardListItem
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInstance
org.gnome.gobject.GObject
org.gnome.gobject.InitiallyUnowned
org.webkitgtk.BackForwardListItem
- All Implemented Interfaces:
Proxy
One item of the WebKitBackForwardList.
A history item is part of the WebKitBackForwardList and consists
out of a title and a URI.
-
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 InitiallyUnowned
InitiallyUnowned.InitiallyUnownedClassNested classes/interfaces inherited from class GObject
GObject.NotifyCallback, GObject.ObjectClass -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new BackForwardListItem.BackForwardListItem(MemorySegment address) Create a BackForwardListItem instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionprotected BackForwardListItemasParent()Return this instance as if it were its parent type.static BackForwardListItem.Builder<? extends BackForwardListItem.Builder> builder()ABackForwardListItem.Builderobject constructs aBackForwardListItemwith the specified properties.static MemoryLayoutThe memory layout of the native struct.Obtain the original URI of the item.getTitle()Obtain the title of the item.static @Nullable TypegetType()Get the GType of the BackForwardListItem class.getUri()Obtain the URI of the item.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, hashCode
-
Constructor Details
-
BackForwardListItem
Create a BackForwardListItem instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
BackForwardListItem
public BackForwardListItem()Create a new BackForwardListItem.
-
-
Method Details
-
getType
Get the GType of the BackForwardListItem 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.- Overrides:
asParentin classInitiallyUnowned- Returns:
- the instance as if it were its parent type
-
getOriginalUri
Obtain the original URI of the item.
See also webkit_back_forward_list_item_get_uri().
- Returns:
- the original URI of this BackForwardListItem or
nullwhen the original URI is empty.
-
getTitle
Obtain the title of the item.- Returns:
- the page title of this BackForwardListItem or
nullwhen the title is empty.
-
getUri
Obtain the URI of the item.
This URI may differ from the original URI if the page was, for example, redirected to a new location. See also webkit_back_forward_list_item_get_original_uri().
- Returns:
- the URI of this BackForwardListItem or
nullwhen the URI is empty.
-
builder
ABackForwardListItem.Builderobject constructs aBackForwardListItemwith the specified properties. Use the variousset...()methods to set properties, and finish construction withBackForwardListItem.Builder.build().- Returns:
- the builder object
-