Package org.eclipse.swt.events
Class ShellAdapter
- java.lang.Object
-
- org.eclipse.swt.events.ShellAdapter
-
- All Implemented Interfaces:
ShellListener
public abstract class ShellAdapter extends java.lang.Object implements ShellListener
This adapter class provides default implementations for the methods described by theShellListener
interface.Classes that wish to deal with
ShellEvent
s can extend this class and override only the methods which they are interested in.- See Also:
ShellListener
,ShellEvent
-
-
Constructor Summary
Constructors Constructor Description ShellAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
shellActivated
public void shellActivated(ShellEvent e)
Sent when a shell becomes the active window. The default behavior is to do nothing.- Specified by:
shellActivated
in interfaceShellListener
- Parameters:
e
- an event containing information about the activation
-
shellClosed
public void shellClosed(ShellEvent e)
Sent when a shell is closed. The default behavior is to do nothing.- Specified by:
shellClosed
in interfaceShellListener
- Parameters:
e
- an event containing information about the close
-
shellDeactivated
public void shellDeactivated(ShellEvent e)
Sent when a shell stops being the active window. The default behavior is to do nothing.- Specified by:
shellDeactivated
in interfaceShellListener
- Parameters:
e
- an event containing information about the deactivation
-
-