| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchrriis.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 WebBrowserListenerpublic void windowOpening(WebBrowserWindowOpeningEvent e)
WebBrowserListener
windowOpening in interface WebBrowserListenerpublic void windowClosing(WebBrowserEvent e)
WebBrowserListener
windowClosing in interface WebBrowserListenerpublic void locationChanging(WebBrowserNavigationEvent e)
WebBrowserListener
locationChanging in interface WebBrowserListenerpublic void locationChanged(WebBrowserNavigationEvent e)
locationChanged in interface WebBrowserListenerpublic void locationChangeCanceled(WebBrowserNavigationEvent e)
WebBrowserListener
locationChangeCanceled in interface WebBrowserListenerpublic void loadingProgressChanged(WebBrowserEvent e)
loadingProgressChanged in interface WebBrowserListenerpublic void titleChanged(WebBrowserEvent e)
titleChanged in interface WebBrowserListenerpublic void statusChanged(WebBrowserEvent e)
statusChanged in interface WebBrowserListenerpublic void commandReceived(WebBrowserCommandEvent e)
WebBrowserListenerwindow.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 | ||||||||