com.jniwrapper.win32.ie.event
Class BrowserWindowAdapter

java.lang.Object
  extended by com.jniwrapper.win32.ie.event.BrowserWindowAdapter
All Implemented Interfaces:
BrowserWindowListener

public abstract class BrowserWindowAdapter
extends java.lang.Object
implements BrowserWindowListener

An abstract adapter class for receiving browser window events.


Constructor Summary
BrowserWindowAdapter()
           
 
Method Summary
 void onFullScreen(BrowserWindowEvent event)
          Invokes when the full-screen mode of the window is changed.
 void onMenuBar(BrowserWindowEvent event)
          Invokes when the menu bar should be shown or hidden.
 void onStatusBar(BrowserWindowEvent event)
          Invokes when the status bar should be shown or hidden.
 void onToolBar(BrowserWindowEvent event)
          Invokes when the tool bar should be shown or hidden.
 void onVisible(BrowserWindowEvent event)
          Invokes when the window should be shown or hidden.
 void onWindowResizable(BrowserWindowEvent event)
          The event is fired when a new window is opened through scripting, using the window.open method.
 void onWindowResize(BrowserWindowEvent event)
          Invokes when the window should changes its bounds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserWindowAdapter

public BrowserWindowAdapter()
Method Detail

onWindowResize

public void onWindowResize(BrowserWindowEvent event)
Description copied from interface: BrowserWindowListener
Invokes when the window should changes its bounds.

The value that specifies the new bounds of the window is available through the BrowserWindowEvent.getWindowBounds method.

Specified by:
onWindowResize in interface BrowserWindowListener

onWindowResizable

public void onWindowResizable(BrowserWindowEvent event)
Description copied from interface: BrowserWindowListener
The event is fired when a new window is opened through scripting, using the window.open method. The return value of the BrowserWindowEvent.isWindowResizable method indicates whether the resizable feature was requested in the call to window.open.

Specified by:
onWindowResizable in interface BrowserWindowListener

onFullScreen

public void onFullScreen(BrowserWindowEvent event)
Description copied from interface: BrowserWindowListener
Invokes when the full-screen mode of the window is changed.

The value that specifies whether the browser window is in full-screen mode is available through the BrowserWindowEvent.isFullScreen method.

Specified by:
onFullScreen in interface BrowserWindowListener

onVisible

public void onVisible(BrowserWindowEvent event)
Description copied from interface: BrowserWindowListener
Invokes when the window should be shown or hidden.

The return value of the BrowserWindowEvent.isVisible method indicates whether the window should be shown or hidden.

Specified by:
onVisible in interface BrowserWindowListener

onToolBar

public void onToolBar(BrowserWindowEvent event)
Description copied from interface: BrowserWindowListener
Invokes when the tool bar should be shown or hidden.

The return value of the BrowserWindowEvent.isToolBar method indicates whether the tool bar should be shown or hidden.

Specified by:
onToolBar in interface BrowserWindowListener

onMenuBar

public void onMenuBar(BrowserWindowEvent event)
Description copied from interface: BrowserWindowListener
Invokes when the menu bar should be shown or hidden.

The return value of the BrowserWindowEvent.isMenuBar method indicates whether the menu bar should be shown or hidden.

Specified by:
onMenuBar in interface BrowserWindowListener

onStatusBar

public void onStatusBar(BrowserWindowEvent event)
Description copied from interface: BrowserWindowListener
Invokes when the status bar should be shown or hidden.

The return value of the BrowserWindowEvent.isStatusBar method indicates whether the status bar should be shown or hidden.

Specified by:
onStatusBar in interface BrowserWindowListener