Package com.luciad.lucy.gui
Class TLcyApplicationPaneManagerEvent
java.lang.Object
java.util.EventObject
com.luciad.lucy.gui.TLcyApplicationPaneManagerEvent
- All Implemented Interfaces:
Serializable
This event describes an added or removed
ILcyApplicationPane
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
This constant indicates that the application pane of the event was added to theTLcyApplicationPaneManager
.static final int
This constant indicates that the application pane of the event was removed from theTLcyApplicationPaneManager
.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTLcyApplicationPaneManagerEvent
(TLcyApplicationPaneManager source, ILcyApplicationPane aApplicationPane, int aID) Creates new event.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the application pane that was added or removed from theTLcyApplicationPaneManager
.Returns theTLcyApplicationPaneManager
to which the application pane was added or removed.toString()
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
APPLICATION_PANE_ADDED
public static final int APPLICATION_PANE_ADDEDThis constant indicates that the application pane of the event was added to theTLcyApplicationPaneManager
.- See Also:
-
APPLICATION_PANE_REMOVED
public static final int APPLICATION_PANE_REMOVEDThis constant indicates that the application pane of the event was removed from theTLcyApplicationPaneManager
.- See Also:
-
-
Constructor Details
-
TLcyApplicationPaneManagerEvent
public TLcyApplicationPaneManagerEvent(TLcyApplicationPaneManager source, ILcyApplicationPane aApplicationPane, int aID) Creates new event.
- Parameters:
source
- The source of the event. This must not benull
.aApplicationPane
- TheILcyApplicationPane
that was added or removed. This must not benull
.aID
- The ID of this event, describing the type of the event. This must be one ofAPPLICATION_PANE_ADDED
orAPPLICATION_PANE_REMOVED
.- Throws:
IllegalArgumentException
- When the specified application pane isnull
or when the specified ID isinvalid
.
-
-
Method Details
-
getApplicationPane
Returns the application pane that was added or removed from theTLcyApplicationPaneManager
.- Returns:
- The application pane that was added or removed from the
TLcyApplicationPaneManager
. This is nevernull
.
-
getApplicationPaneManager
Returns theTLcyApplicationPaneManager
to which the application pane was added or removed.- Returns:
- The
TLcyApplicationPaneManager
to which the application pane was added or removed. This is nevernull
.
-
toString
- Overrides:
toString
in classEventObject
-