Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.swt.browser
Interface VisibilityWindowListener  view VisibilityWindowListener download VisibilityWindowListener.java

All Superinterfaces:
java.util.EventListener, org.eclipse.swt.internal.SWTEventListener
All Known Implementing Classes:
VisibilityWindowAdapter

public interface VisibilityWindowListener
extends org.eclipse.swt.internal.SWTEventListener

This listener interface may be implemented in order to receive a WindowEvent notification when a window hosting a Browser needs to be displayed or hidden.

Since:
3.0

Method Summary
 void hide(WindowEvent event)
          This method is called when the window hosting a Browser is requested to be hidden.
 void show(WindowEvent event)
          This method is called when the window hosting a Browser is requested to be displayed.
 

Method Detail

hide

public void hide(WindowEvent event)
This method is called when the window hosting a Browser is requested to be hidden. Application would typically hide the org.eclipse.swt.widgets.Shell that hosts the Browser.

The following fields in the WindowEvent apply:

  • (in) widget the Browser that needs to be hidden

Since:
3.0

show

public void show(WindowEvent event)
This method is called when the window hosting a Browser is requested to be displayed. Application would typically set the location and the size of the org.eclipse.swt.widgets.Shell that hosts the Browser, if a particular location and size are specified. The application would then open that Shell.

The following fields in the WindowEvent apply:

  • (in) widget the Browser to display
  • (in) location the requested location for the Shell hosting the browser. It is null if no location is set.
  • (in) size the requested size for the Browser. The client area of the Shell hosting the Browser should be large enough to accomodate that size. It is null if no size is set.

Since:
3.0