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 Details

    • Builder

      protected Builder()
      Default constructor for a Builder object.
  • Method Details

    • build

      public FaviconDatabase build()
      Finish building the FaviconDatabase object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to FaviconDatabase.
      Overrides:
      build in class GObject.Builder<B extends FaviconDatabase.Builder<B>>
      Returns:
      a new instance of FaviconDatabase with the properties that were set in the Builder object.
    • onFaviconChanged

      public B onFaviconChanged(FaviconDatabase.FaviconChangedCallback handler)
      This signal is emitted when the favicon URI of pageUri has been changed to faviconUri in 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 a WebKitWebView it's easier to use the WebKitWebView:favicon property. See webkit_web_view_get_favicon() for more details.
      Parameters:
      handler - the signal handler
      Returns:
      the Builder instance is returned, to allow method chaining
      See Also: