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
Modifier and TypeFieldDescriptionstatic final int
Indicates that anILcdAction
was added.static final int
Indicates that anILcdAction
was removed.static final int
Indicates that anILcyActiveSettable
was added.static final int
Indicates that anILcyActiveSettable
was removed.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTLcyActionBarEvent
(ILcyActionBar aSource, int aID, ILcdAction aAction) Creates a newTLcyActionBarEvent
that indicates anILcdAction
was added or removed.TLcyActionBarEvent
(ILcyActionBar aSource, int aID, ILcyActiveSettable aActiveSettable) Creates a newTLcyActionBarEvent
that indicates anILcyActiveSettable
was added or removed. -
Method Summary
Modifier and TypeMethodDescriptionReturns theILcdAction
that was added or removed.Returns the action bar that was modified.Returns theILcyActiveSettable
that was added or removed.int
getID()
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 anILcdAction
was added.- See Also:
-
ACTION_REMOVED
public static final int ACTION_REMOVEDIndicates that anILcdAction
was removed.- See Also:
-
ACTIVE_SETTABLE_ADDED
public static final int ACTIVE_SETTABLE_ADDEDIndicates that anILcyActiveSettable
was added.- See Also:
-
ACTIVE_SETTABLE_REMOVED
public static final int ACTIVE_SETTABLE_REMOVEDIndicates that anILcyActiveSettable
was removed.- See Also:
-
-
Constructor Details
-
TLcyActionBarEvent
Creates a newTLcyActionBarEvent
that indicates anILcdAction
was added or removed.- Parameters:
aSource
- TheILcyActionBar
that was changed.aID
- One of ACTION_ADDED or ACTION_REMOVED.aAction
- The action that was added or removed.
-
TLcyActionBarEvent
Creates a newTLcyActionBarEvent
that indicates anILcyActiveSettable
was added or removed.- Parameters:
aSource
- TheILcyActionBar
that 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 theILcdAction
that 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 theILcyActiveSettable
that 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.
-