public interface WebViewHyperlinkListenerHandle extends ListenerHandle
ListenerHandle
for a WebViewHyperlinkListener
.ListenerHandle
,
WebViewHyperlinkListener
Modifier and Type | Method and Description |
---|---|
void |
attach()
Attaches/adds the
WebViewHyperlinkListener to the WebView . |
void |
detach()
Detaches/removes the
WebViewHyperlinkListener from the WebView . |
void attach()
WebViewHyperlinkListener
to the WebView
.
This method can be called from any thread and regardless of the state of the WebView
's
loadWorker
. If it is not called on the FX Application Thread, the listener will
be added at some unspecified time in the future. If the loadWorker
is currently loading, the listener is
attached as soon as it is done.
attach
in interface ListenerAttachHandle
ListenerAttachHandle.attach()
void detach()
WebViewHyperlinkListener
from the WebView
.
This method can be called from any thread and regardless of the state of the WebView
's
loadWorker
.
detach
in interface ListenerDetachHandle
ListenerDetachHandle.detach()
This documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.