Package org.webkitgtk
Class FindController.Builder<B extends FindController.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.webkitgtk.FindController.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
FindController
public static class FindController.Builder<B extends FindController.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 theFindControllerobject.This signal is emitted when theWebKitFindControllerhas counted the number of matches for a given text after a call to webkit_find_controller_count_matches().This signal is emitted when a search operation does not find any result for the given text.This signal is emitted when a given text is found in the web page text.setWebView(WebView webView) TheWebKitWebViewthis controller is associated to.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 theFindControllerobject. 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 toFindController.- Overrides:
buildin classGObject.Builder<B extends FindController.Builder<B>>- Returns:
- a new instance of
FindControllerwith the properties that were set in the Builder object.
-
setWebView
-
onCountedMatches
This signal is emitted when theWebKitFindControllerhas counted the number of matches for a given text after a call to webkit_find_controller_count_matches().- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-
onFailedToFindText
This signal is emitted when a search operation does not find any result for the given text. It will be issued if the text is not found asynchronously after a call to webkit_find_controller_search(), webkit_find_controller_search_next() or webkit_find_controller_search_previous().- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-
onFoundText
This signal is emitted when a given text is found in the web page text. It will be issued if the text is found asynchronously after a call to webkit_find_controller_search(), webkit_find_controller_search_next() or webkit_find_controller_search_previous().- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-