public class ShellEventsSubscriber
extends java.lang.Object
All possible shell events are described in ShellEvent class.
To receive and process a particular shell event you need to add ShellEventsListener listener.
| Constructor and Description |
|---|
ShellEventsSubscriber() |
ShellEventsSubscriber(Handle idList,
boolean recursive) |
| Modifier and Type | Method and Description |
|---|---|
void |
addShellEventsListener(ShellEventsListener listener)
Adds the specified listener to receive shell events from this subscriber.
|
void |
removeShellEventsListener(ShellEventsListener listener)
Removes the specified listener so that it no longer receives shell events.
|
public ShellEventsSubscriber()
public ShellEventsSubscriber(Handle idList, boolean recursive)
public void addShellEventsListener(ShellEventsListener listener)
public void removeShellEventsListener(ShellEventsListener listener)