ShellListener interface.
Classes that wish to deal with ShellEvents can
extend this class and override only the methods which they are
interested in.
An alternative to this class are the static helper methods in
ShellListener,
which accept a lambda expression or a method reference that implements the event consumer.
ShellListener, ShellEvent, Sample code and further information
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | shellActivated(ShellEvent
an event containing information about the activation e)Implements org. |
| public void | shellClosed(ShellEvent
an event containing information about the close e)Implements org. |
| public void | shellDeactivated(ShellEvent
an event containing information about the deactivation e)Implements org. |
| public void | shellDeiconified(ShellEvent
an event containing information about the un-minimization e)Implements org. |
| public void | shellIconified(ShellEvent
an event containing information about the minimization e)Implements org. |
| ShellAdapter | back to summary |
|---|---|
| public ShellAdapter() | |
| shellActivated | back to summary |
|---|---|
| public void shellActivated(ShellEvent e) Implements org. Sent when a shell becomes the active window. The default behavior is to do nothing.
| |
| shellClosed | back to summary |
|---|---|
| public void shellClosed(ShellEvent e) Implements org. Sent when a shell is closed. The default behavior is to do nothing.
| |
| shellDeactivated | back to summary |
|---|---|
| public void shellDeactivated(ShellEvent e) Implements org. Sent when a shell stops being the active window. The default behavior is to do nothing.
| |
| shellDeiconified | back to summary |
|---|---|
| public void shellDeiconified(ShellEvent e) Implements org. Sent when a shell is un-minimized. The default behavior is to do nothing.
| |
| shellIconified | back to summary |
|---|---|
| public void shellIconified(ShellEvent e) Implements org. Sent when a shell is minimized. The default behavior is to do nothing.
| |