|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
BrowserEvent
Method Summary | |
void |
onBeforeNavigate(BrowserEvent e)
Invoked just before a URL begins to load. |
void |
onContextMenu(BrowserEvent e)
Deprecated. Use MouseListener |
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 |
public void onContextMenu(BrowserEvent e)
MouseListener
public void onLinkChange(BrowserEvent e)
public void onURLChange(BrowserEvent e)
public void onTitleChange(BrowserEvent e)
public void onBeforeNavigate(BrowserEvent e)
BrowserEvent.getURL()
BrowserEvent.getPOSTData()
BrowserEvent.getTargetFrame()
BrowserEvent.getHeaders()
public void onNavigationCancelled(BrowserEvent e)
public void onLoadIntercept(BrowserEvent e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |