Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.swt.browser
Interface VisibilityWindowListener

All Superinterfaces:
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
See Also:
Browser.addVisibilityWindowListener(VisibilityWindowListener), Browser.removeVisibilityWindowListener(VisibilityWindowListener), OpenWindowListener, CloseWindowListener

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

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

The following fields in the WindowEvent apply:

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

Parameters:
event - the WindowEvent that specifies the Browser that needs to be hidden
Since:
3.0
See Also:
Shell.setVisible(boolean)

show

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 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 accommodate that size. It is null if no size is set.
  • (in) addressBar true if the Shell hosting the Browser should display an address bar or false otherwise
  • (in) menuBar true if the Shell hosting the Browser should display a menu bar or false otherwise
  • (in) statusBar true if the Shell hosting the Browser should display a status bar or false otherwise
  • (in) toolBar true if the Shell hosting the Browser should display a tool bar or false otherwise

Parameters:
event - the WindowEvent that specifies the Browser that needs to be displayed
Since:
3.0
See Also:
Control.setLocation(org.eclipse.swt.graphics.Point), Control.setSize(org.eclipse.swt.graphics.Point), Shell.open()

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire