Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## chrriis.dj.nativeswing.swtimpl.components
Interface WebBrowserListener

All Superinterfaces:
  EventListener

All Known Implementing Classes:
  WebBrowserAdapter

    public interface WebBrowserListener

extends EventListener

Author:
  Christopher Deckers

Method Summary
`void` | `commandReceived(WebBrowserEvent e, String command, String[] args)` The web browser can invoke special commands to the application simply by calling through Javascript: `window.location = 'command://' + encodeURIComponent('somecommand') + '&' + encodeURIComponent('param1') + '&' + encodeURIComponent('param2') + ...` or as a static HREF link.
`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.

Method Detail

### windowWillOpen

    void windowWillOpen(WebBrowserWindowWillOpenEvent e)

  This event is sent to the browser that originated the event, and can be consumed.

### windowOpening

    void windowOpening(WebBrowserWindowOpeningEvent e)

  This event is sent to the browser that originated the event.

### windowClosing

    void windowClosing(WebBrowserEvent e)

  The system is closing the browser component, so all ancestors or related components can be closed upon receiving this notification. If the window ancestor is a JWebBrowserWindow, the system will close it automatically.

### locationChanging

    void locationChanging(WebBrowserNavigationEvent e)

  The event can be consumed.

### locationChanged

    void locationChanged(WebBrowserNavigationEvent e)

### locationChangeCanceled

    void locationChangeCanceled(WebBrowserNavigationEvent e)

  Invoked when the location was changing but one of the listener returned false to block the change.

### loadingProgressChanged

    void loadingProgressChanged(WebBrowserEvent e)

### titleChanged

    void titleChanged(WebBrowserEvent e)

### statusChanged

    void statusChanged(WebBrowserEvent e)

### commandReceived

    void commandReceived(WebBrowserEvent e,
                         String command,
                         String[] args)

  The web browser can invoke special commands to the application simply by calling through Javascript:
  `window.location = 'command://' + encodeURIComponent('somecommand') + '&' + encodeURIComponent('param1') + '&' + encodeURIComponent('param2') + ...`
  or as a static HREF link.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD