Package org.eclipse.swt.events
Interface ShellListener
- All Known Implementing Classes:
ShellAdapter
public interface ShellListener
Classes which implement this interface provide methods
that deal with changes in state of
Shell
s.
After creating an instance of a class that implements
this interface it can be added to a shell using the
addShellListener
method and removed using
the removeShellListener
method. When the
state of the shell changes, the appropriate method will
be invoked.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Sent when a shell becomes the active window.void
Sent when a shell is closed.void
Sent when a shell stops being the active window.
-
Method Details
-
shellActivated
Sent when a shell becomes the active window.- Parameters:
e
- an event containing information about the activation
-
shellClosed
Sent when a shell is closed.- Parameters:
e
- an event containing information about the close
-
shellDeactivated
Sent when a shell stops being the active window.- Parameters:
e
- an event containing information about the deactivation
-