public interface BrowserListener extends EventListener
The class that is interested in processing a browser event either
implements this interface (and all the methods it contains) or extends the
abstract BrowserAdapter
class (overriding only the methods of
interest).
The listener object created from that class is then registered with an
IBrowserCanvas
using the addBrowserListener method.
BrowserEvent
Modifier and Type | Method and Description |
---|---|
void |
onBeforeNavigate(BrowserEvent e)
Invoked just before a URL begins to load.
|
void |
onFavicon(BrowserEvent e)
Invoked when the favicon for a page becomes available.
|
void |
onLinkChange(BrowserEvent e)
Invoked when the link message changes in a browser.
|
void |
onLoadIntercept(BrowserEvent e)
Invoked before any load is commenced.
|
void |
onNavigationCancelled(BrowserEvent e)
Invoked when the loading of a URL is prematurely stopped.
|
void |
onTitleChange(BrowserEvent e)
Invoked when the title changes in a browser.
|
void |
onURLChange(BrowserEvent e)
Invoked when the URL changes in a browser.
|
void onLinkChange(BrowserEvent e)
void onFavicon(BrowserEvent e)
void onURLChange(BrowserEvent e)
void onTitleChange(BrowserEvent e)
void onBeforeNavigate(BrowserEvent e)
void onNavigationCancelled(BrowserEvent e)
void onLoadIntercept(BrowserEvent e)