public class TLcyApplicationPaneManagerEvent extends EventObject
ILcyApplicationPane
.Modifier and Type | Field and Description |
---|---|
static int |
APPLICATION_PANE_ADDED
This constant indicates that the application pane of the event was added to the
TLcyApplicationPaneManager . |
static int |
APPLICATION_PANE_REMOVED
This constant indicates that the application pane of the event was removed from the
TLcyApplicationPaneManager . |
source
Constructor and Description |
---|
TLcyApplicationPaneManagerEvent(TLcyApplicationPaneManager source,
ILcyApplicationPane aApplicationPane,
int aID)
Creates new event. |
Modifier and Type | Method and Description |
---|---|
ILcyApplicationPane |
getApplicationPane()
Returns the application pane that was added or removed from the
TLcyApplicationPaneManager . |
TLcyApplicationPaneManager |
getApplicationPaneManager()
Returns the
TLcyApplicationPaneManager to which the application pane was added
or removed. |
String |
toString() |
getSource
public static final int APPLICATION_PANE_ADDED
TLcyApplicationPaneManager
.public static final int APPLICATION_PANE_REMOVED
TLcyApplicationPaneManager
.public TLcyApplicationPaneManagerEvent(TLcyApplicationPaneManager source, ILcyApplicationPane aApplicationPane, int aID)
Creates new event.
source
- The source of the event. This must not be null
.aApplicationPane
- The ILcyApplicationPane
that was added or removed. This
must not be null
.aID
- The ID of this event, describing the type of the event. This must be
one of APPLICATION_PANE_ADDED
or APPLICATION_PANE_REMOVED
.IllegalArgumentException
- When the specified application pane is null
or
when the specified ID is invalid
.public ILcyApplicationPane getApplicationPane()
TLcyApplicationPaneManager
.TLcyApplicationPaneManager
. This is never null
.public TLcyApplicationPaneManager getApplicationPaneManager()
TLcyApplicationPaneManager
to which the application pane was added
or removed.TLcyApplicationPaneManager
to which the application pane was added
or removed. This is never null
.public String toString()
toString
in class EventObject