|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.browser.VisibilityWindowAdapter
public abstract class VisibilityWindowAdapter
This adapter class provides default implementations for the
methods described by the VisibilityWindowListener interface.
Classes that wish to deal with WindowEvent's can
extend this class and override only the methods which they are
interested in.
| Constructor Summary | |
|---|---|
VisibilityWindowAdapter()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VisibilityWindowAdapter()
| Method Detail |
|---|
public void hide(WindowEvent event)
VisibilityWindowListenerBrowser
is requested to be hidden. Application would typically hide the
Shell that hosts the Browser.
The following fields in the WindowEvent apply:
Browser that needs to be hidden
hide in interface VisibilityWindowListenerevent - the WindowEvent that specifies the
Browser that needs to be hiddenShell.setVisible(boolean)public void show(WindowEvent event)
VisibilityWindowListenerBrowser
is requested to be displayed. Application would typically set the
location and the size of the 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:
Browser to display
Shell
hosting the browser. It is null if no location is set.
Browser.
The client area of the Shell hosting the
Browser should be large enough to accommodate that size.
It is null if no size is set.
true if the Shell
hosting the Browser should display an address bar or
false otherwise
true if the Shell
hosting the Browser should display a menu bar or
false otherwise
true if the Shell
hosting the Browser should display a status bar or
false otherwise
true if the Shell
hosting the Browser should display a tool bar or
false otherwise
show in interface VisibilityWindowListenerevent - the WindowEvent that specifies the
Browser that needs to be displayedControl.setLocation(org.eclipse.swt.graphics.Point),
Control.setSize(org.eclipse.swt.graphics.Point),
Shell.open()
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.