Package org.eclipse.swt.events
Class ShellAdapter
java.lang.Object
org.eclipse.swt.events.ShellAdapter
- All Implemented Interfaces:
ShellListener
This adapter class provides default implementations for the
methods described by the
ShellListener interface.
Classes that wish to deal with ShellEvents can
extend this class and override only the methods which they are
interested in.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSent when a shell becomes the active window.voidSent when a shell is closed.voidSent when a shell stops being the active window.
-
Constructor Details
-
ShellAdapter
public ShellAdapter()
-
-
Method Details
-
shellActivated
Sent when a shell becomes the active window. The default behavior is to do nothing.- Specified by:
shellActivatedin interfaceShellListener- Parameters:
e- an event containing information about the activation
-
shellClosed
Sent when a shell is closed. The default behavior is to do nothing.- Specified by:
shellClosedin interfaceShellListener- Parameters:
e- an event containing information about the close
-
shellDeactivated
Sent when a shell stops being the active window. The default behavior is to do nothing.- Specified by:
shellDeactivatedin interfaceShellListener- Parameters:
e- an event containing information about the deactivation
-