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

Quick Search    Search Deep

org.eclipse.swt.events
Interface ShellListener  view ShellListener download ShellListener.java

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

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

Classes which implement this interface provide methods that deal with changes in state of Shells.

After creating an instance of a class that implements this interface it can be added to a control using the addShellListener method and removed using the removeShellListener method. When the state of a shell changes, the appropriate method will be invoked.


Method Summary
 void shellActivated(ShellEvent e)
          Sent when a shell becomes the active window.
 void shellClosed(ShellEvent e)
          Sent when a shell is closed.
 void shellDeactivated(ShellEvent e)
          Sent when a shell stops being the active window.
 void shellDeiconified(ShellEvent e)
          Sent when a shell is un-minimized.
 void shellIconified(ShellEvent e)
          Sent when a shell is minimized.
 

Method Detail

shellActivated

public void shellActivated(ShellEvent e)
Sent when a shell becomes the active window.


shellClosed

public void shellClosed(ShellEvent e)
Sent when a shell is closed.


shellDeactivated

public void shellDeactivated(ShellEvent e)
Sent when a shell stops being the active window.


shellDeiconified

public void shellDeiconified(ShellEvent e)
Sent when a shell is un-minimized.


shellIconified

public void shellIconified(ShellEvent e)
Sent when a shell is minimized.