Package org.eclipse.swt.events
Interface ShellListener
-
- All Known Implementing Classes:
ShellAdapter
public interface ShellListenerClasses which implement this interface provide methods that deal with changes in state ofShells.After creating an instance of a class that implements this interface it can be added to a shell using the
addShellListenermethod and removed using theremoveShellListenermethod. When the state of the shell changes, the appropriate method will be invoked.- See Also:
ShellAdapter,ShellEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidshellActivated(ShellEvent e)Sent when a shell becomes the active window.voidshellClosed(ShellEvent e)Sent when a shell is closed.voidshellDeactivated(ShellEvent e)Sent when a shell stops being the active window.
-
-
-
Method Detail
-
shellActivated
void shellActivated(ShellEvent e)
Sent when a shell becomes the active window.- Parameters:
e- an event containing information about the activation
-
shellClosed
void shellClosed(ShellEvent e)
Sent when a shell is closed.- Parameters:
e- an event containing information about the close
-
shellDeactivated
void shellDeactivated(ShellEvent e)
Sent when a shell stops being the active window.- Parameters:
e- an event containing information about the deactivation
-
-