com.webrenderer.se.event
Interface BrowserListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
BrowserAdapter, HistoryListener

public interface BrowserListener
extends java.util.EventListener

The listener interface for receiving general browser events (title/url/link changes).

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.

See Also:
BrowserEvent

Method Summary
 void onBeforeNavigate(BrowserEvent e)
          Invoked just before a URL begins to load.
 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.
 

Method Detail

onLinkChange

void onLinkChange(BrowserEvent e)
Invoked when the link message changes in a browser.
Available Methods from BrowserEvent at the time this event is fired:


onURLChange

void onURLChange(BrowserEvent e)
Invoked when the URL changes in a browser.
Available Methods from BrowserEvent at the time this event is fired:


onTitleChange

void onTitleChange(BrowserEvent e)
Invoked when the title changes in a browser.
Available Methods from BrowserEvent at the time this event is fired:


onBeforeNavigate

void onBeforeNavigate(BrowserEvent e)
Invoked just before a URL begins to load.
Available Methods from BrowserEvent at the time this event is fired:


onNavigationCancelled

void onNavigationCancelled(BrowserEvent e)
Invoked when the loading of a URL is prematurely stopped.
Available Methods from BrowserEvent at the time this event is fired:


onLoadIntercept

void onLoadIntercept(BrowserEvent e)
Invoked before any load is commenced. Call e.blockLoad() To stop the load for current URL (e.getURL()).
Available Methods from BrowserEvent at the time this event is fired: