|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object chrriis.dj.nativeswing.swtimpl.components.WebBrowserAdapter
public abstract class WebBrowserAdapter
An abstract adapter class for receiving web browser events.
Constructor Summary | |
---|---|
WebBrowserAdapter()
|
Method Summary | |
---|---|
void |
commandReceived(WebBrowserCommandEvent e)
The web browser can invoke special commands to the application simply by calling through Javascript: window.location = 'command://' + encodeURIComponent('somecommand') + '&' + encodeURIComponent('param1') + '&' + encodeURIComponent('param2') + ... |
void |
loadingProgressChanged(WebBrowserEvent e)
|
void |
locationChangeCanceled(WebBrowserNavigationEvent e)
Invoked when the location was changing but one of the listener returned false to block the change. |
void |
locationChanged(WebBrowserNavigationEvent e)
|
void |
locationChanging(WebBrowserNavigationEvent e)
The event can be consumed. |
void |
statusChanged(WebBrowserEvent e)
|
void |
titleChanged(WebBrowserEvent e)
|
void |
windowClosing(WebBrowserEvent e)
The system is closing the browser component, so all ancestors or related components can be closed upon receiving this notification. |
void |
windowOpening(WebBrowserWindowOpeningEvent e)
This event is sent to the browser that originated the event. |
void |
windowWillOpen(WebBrowserWindowWillOpenEvent e)
This event is sent to the browser that originated the event, and can be consumed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebBrowserAdapter()
Method Detail |
---|
public void windowWillOpen(WebBrowserWindowWillOpenEvent e)
WebBrowserListener
windowWillOpen
in interface WebBrowserListener
public void windowOpening(WebBrowserWindowOpeningEvent e)
WebBrowserListener
windowOpening
in interface WebBrowserListener
public void windowClosing(WebBrowserEvent e)
WebBrowserListener
windowClosing
in interface WebBrowserListener
public void locationChanging(WebBrowserNavigationEvent e)
WebBrowserListener
locationChanging
in interface WebBrowserListener
public void locationChanged(WebBrowserNavigationEvent e)
locationChanged
in interface WebBrowserListener
public void locationChangeCanceled(WebBrowserNavigationEvent e)
WebBrowserListener
locationChangeCanceled
in interface WebBrowserListener
public void loadingProgressChanged(WebBrowserEvent e)
loadingProgressChanged
in interface WebBrowserListener
public void titleChanged(WebBrowserEvent e)
titleChanged
in interface WebBrowserListener
public void statusChanged(WebBrowserEvent e)
statusChanged
in interface WebBrowserListener
public void commandReceived(WebBrowserCommandEvent e)
WebBrowserListener
window.location = 'command://' + encodeURIComponent('somecommand') + '&' + encodeURIComponent('param1') + '&' + encodeURIComponent('param2') + ...
commandReceived
in interface WebBrowserListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |