public class TLcyActionBarEvent extends EventObject
ILcyActionBar
.ILcyActionBar
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
ACTION_ADDED
Indicates that an
ILcdAction was added. |
static int |
ACTION_REMOVED
Indicates that an
ILcdAction was removed. |
static int |
ACTIVE_SETTABLE_ADDED
Indicates that an
ILcyActiveSettable was added. |
static int |
ACTIVE_SETTABLE_REMOVED
Indicates that an
ILcyActiveSettable was removed. |
source
Constructor and Description |
---|
TLcyActionBarEvent(ILcyActionBar aSource,
int aID,
ILcdAction aAction)
Creates a new
TLcyActionBarEvent that indicates an
ILcdAction was added or removed. |
TLcyActionBarEvent(ILcyActionBar aSource,
int aID,
ILcyActiveSettable aActiveSettable)
Creates a new
TLcyActionBarEvent that indicates an
ILcyActiveSettable was added or removed. |
Modifier and Type | Method and Description |
---|---|
ILcdAction |
getAction()
Returns the
ILcdAction that was added or removed. |
ILcyActionBar |
getActionBar()
Returns the action bar that was modified.
|
ILcyActiveSettable |
getActiveSettable()
Returns the
ILcyActiveSettable that was added or removed. |
int |
getID()
Returns the ID of this event.
|
getSource, toString
public static final int ACTION_ADDED
ILcdAction
was added.public static final int ACTION_REMOVED
ILcdAction
was removed.public static final int ACTIVE_SETTABLE_ADDED
ILcyActiveSettable
was added.public static final int ACTIVE_SETTABLE_REMOVED
ILcyActiveSettable
was removed.public TLcyActionBarEvent(ILcyActionBar aSource, int aID, ILcdAction aAction)
TLcyActionBarEvent
that indicates an
ILcdAction
was added or removed.aSource
- The ILcyActionBar
that was changed.aID
- One of ACTION_ADDED or ACTION_REMOVED.aAction
- The action that was added or removed.public TLcyActionBarEvent(ILcyActionBar aSource, int aID, ILcyActiveSettable aActiveSettable)
TLcyActionBarEvent
that indicates an
ILcyActiveSettable
was added or removed.aSource
- The ILcyActionBar
that was changed.aID
- One of ACTIVE_SETTABLE_ADDED or ACTIVE_SETTABLE_REMOVED.aActiveSettable
- The active settable that was added or removed.public ILcyActionBar getActionBar()
public int getID()
public ILcdAction getAction()
ILcdAction
that was added or removed. Should only be used if the
ID of this event is ACTION_ADDED or ACTION_REMOVED.public ILcyActiveSettable getActiveSettable()
ILcyActiveSettable
that was added or removed.
Should only be used if the ID of this event is ACTIVE_SETTABLE_ADDED
or ACTIVE_SETTABLE_REMOVED.