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
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that a vertical view was added.static final intIndicates that a vertical view was removed.Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionTLcyVerticalViewManagerEvent(int aID, Component aVerticalView, TLcyVerticalViewManager aVerticalViewManager) Constructs a newTLcyVerticalViewManagerEvent. -
Method Summary
Modifier and TypeMethodDescriptionintgetID()Returns the ID of the event, indicating what happened.Returns the vertical view which is involved in this event.Returns theTLcyVerticalViewManagerinvolved 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_ADDEDorVERTICAL_VIEW_REMOVED.aVerticalView- The vertical view involved in this event.aVerticalViewManager- TheTLcyVerticalViewManagerinvolved in this event.
-
-
Method Details
-
getID
public int getID()Returns the ID of the event, indicating what happened.- Returns:
VERTICAL_VIEW_ADDEDorVERTICAL_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 theTLcyVerticalViewManagerinvolved in this event.- Returns:
- The
TLcyVerticalViewManagerinvolved in this event.
-