Package org.webkitgtk
Class FaviconDatabase.Builder<B extends FaviconDatabase.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.webkitgtk.FaviconDatabase.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
FaviconDatabase
public static class FaviconDatabase.Builder<B extends FaviconDatabase.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 theFaviconDatabaseobject.This signal is emitted when the favicon URI ofpageUrihas been changed tofaviconUriin the database.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 theFaviconDatabaseobject. 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 toFaviconDatabase.- Overrides:
buildin classGObject.Builder<B extends FaviconDatabase.Builder<B>>- Returns:
- a new instance of
FaviconDatabasewith the properties that were set in the Builder object.
-
onFaviconChanged
This signal is emitted when the favicon URI ofpageUrihas been changed tofaviconUriin the database. You can connect to this signal and call webkit_favicon_database_get_favicon() to get the favicon. If you are interested in the favicon of aWebKitWebViewit's easier to use theWebKitWebView:favicon property. See webkit_web_view_get_favicon() for more details.- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-