Package com.luciad.lucy.addons.vertical
Class TLcyVerticalViewManagerEvent
java.lang.Object
java.util.EventObject
com.luciad.lucy.addons.vertical.TLcyVerticalViewManagerEvent
- All Implemented Interfaces:
Serializable
The event fired when a
TLcyVerticalViewManager
is changed. Current changes include
the addition or removal of a Vertical View.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Indicates that a vertical view was added.static final int
Indicates that a vertical view was removed.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTLcyVerticalViewManagerEvent
(int aID, Component aVerticalView, TLcyVerticalViewManager aVerticalViewManager) Constructs a newTLcyVerticalViewManagerEvent
. -
Method Summary
Modifier and TypeMethodDescriptionint
getID()
Returns the ID of the event, indicating what happened.Returns the vertical view which is involved in this event.Returns theTLcyVerticalViewManager
involved in this event.Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
VERTICAL_VIEW_ADDED
public static final int VERTICAL_VIEW_ADDEDIndicates that a vertical view was added.- See Also:
-
VERTICAL_VIEW_REMOVED
public static final int VERTICAL_VIEW_REMOVEDIndicates that a vertical view was removed.- See Also:
-
-
Constructor Details
-
TLcyVerticalViewManagerEvent
public TLcyVerticalViewManagerEvent(int aID, Component aVerticalView, TLcyVerticalViewManager aVerticalViewManager) Constructs a newTLcyVerticalViewManagerEvent
.- Parameters:
aID
- The id of the event, indicating what happened. Must beVERTICAL_VIEW_ADDED
orVERTICAL_VIEW_REMOVED
.aVerticalView
- The vertical view involved in this event.aVerticalViewManager
- TheTLcyVerticalViewManager
involved in this event.
-
-
Method Details
-
getID
public int getID()Returns the ID of the event, indicating what happened.- Returns:
VERTICAL_VIEW_ADDED
orVERTICAL_VIEW_REMOVED
, depending on what happened. Note that new ID's might be added in the future, so one should explicitly check if the desired ID is present.
-
getVerticalView
Returns the vertical view which is involved in this event.- Returns:
- The vertical view which is involved in this event.
-
getVerticalViewManager
Returns theTLcyVerticalViewManager
involved in this event.- Returns:
- The
TLcyVerticalViewManager
involved in this event.
-