Package com.luciad.lucy.gui
Class TLcyActionBarEvent
java.lang.Object
java.util.EventObject
com.luciad.lucy.gui.TLcyActionBarEvent
- All Implemented Interfaces:
Serializable
An event describing a change in a
ILcyActionBar.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that anILcdActionwas added.static final intIndicates that anILcdActionwas removed.static final intIndicates that anILcyActiveSettablewas added.static final intIndicates that anILcyActiveSettablewas removed.Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionTLcyActionBarEvent(ILcyActionBar aSource, int aID, ILcdAction aAction) Creates a newTLcyActionBarEventthat indicates anILcdActionwas added or removed.TLcyActionBarEvent(ILcyActionBar aSource, int aID, ILcyActiveSettable aActiveSettable) Creates a newTLcyActionBarEventthat indicates anILcyActiveSettablewas added or removed. -
Method Summary
Modifier and TypeMethodDescriptionReturns theILcdActionthat was added or removed.Returns the action bar that was modified.Returns theILcyActiveSettablethat was added or removed.intgetID()Returns the ID of this event.Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
ACTION_ADDED
public static final int ACTION_ADDEDIndicates that anILcdActionwas added.- See Also:
-
ACTION_REMOVED
public static final int ACTION_REMOVEDIndicates that anILcdActionwas removed.- See Also:
-
ACTIVE_SETTABLE_ADDED
public static final int ACTIVE_SETTABLE_ADDEDIndicates that anILcyActiveSettablewas added.- See Also:
-
ACTIVE_SETTABLE_REMOVED
public static final int ACTIVE_SETTABLE_REMOVEDIndicates that anILcyActiveSettablewas removed.- See Also:
-
-
Constructor Details
-
TLcyActionBarEvent
Creates a newTLcyActionBarEventthat indicates anILcdActionwas added or removed.- Parameters:
aSource- TheILcyActionBarthat was changed.aID- One of ACTION_ADDED or ACTION_REMOVED.aAction- The action that was added or removed.
-
TLcyActionBarEvent
Creates a newTLcyActionBarEventthat indicates anILcyActiveSettablewas added or removed.- Parameters:
aSource- TheILcyActionBarthat was changed.aID- One of ACTIVE_SETTABLE_ADDED or ACTIVE_SETTABLE_REMOVED.aActiveSettable- The active settable that was added or removed.
-
-
Method Details
-
getActionBar
Returns the action bar that was modified.- Returns:
- the action bar that was modified.
-
getID
public int getID()Returns the ID of this event. One of ACTION_ADDED, ACTION_REMOVED, ACTIVE_SETTABLE_ADDED or ACTIVE_SETTABLE_REMOVED- Returns:
- the ID of this event.
-
getAction
Returns theILcdActionthat was added or removed. Should only be used if the ID of this event is ACTION_ADDED or ACTION_REMOVED.- Returns:
- the action that was added or removed.
-
getActiveSettable
Returns theILcyActiveSettablethat was added or removed. Should only be used if the ID of this event is ACTIVE_SETTABLE_ADDED or ACTIVE_SETTABLE_REMOVED.- Returns:
- the action that was added or removed.
-