Class TLcyActionBarEvent

java.lang.Object
java.util.EventObject
com.luciad.lucy.gui.TLcyActionBarEvent
All Implemented Interfaces:
Serializable

public class TLcyActionBarEvent extends EventObject
An event describing a change in a ILcyActionBar.
See Also:
  • Field Details

    • ACTION_ADDED

      public static final int ACTION_ADDED
      Indicates that an ILcdAction was added.
      See Also:
    • ACTION_REMOVED

      public static final int ACTION_REMOVED
      Indicates that an ILcdAction was removed.
      See Also:
    • ACTIVE_SETTABLE_ADDED

      public static final int ACTIVE_SETTABLE_ADDED
      Indicates that an ILcyActiveSettable was added.
      See Also:
    • ACTIVE_SETTABLE_REMOVED

      public static final int ACTIVE_SETTABLE_REMOVED
      Indicates that an ILcyActiveSettable was removed.
      See Also:
  • Constructor Details

    • TLcyActionBarEvent

      public TLcyActionBarEvent(ILcyActionBar aSource, int aID, ILcdAction aAction)
      Creates a new TLcyActionBarEvent that indicates an ILcdAction was added or removed.
      Parameters:
      aSource - The ILcyActionBar that was changed.
      aID - One of ACTION_ADDED or ACTION_REMOVED.
      aAction - The action that was added or removed.
    • TLcyActionBarEvent

      public TLcyActionBarEvent(ILcyActionBar aSource, int aID, ILcyActiveSettable aActiveSettable)
      Creates a new TLcyActionBarEvent that indicates an ILcyActiveSettable was added or removed.
      Parameters:
      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.
  • Method Details

    • getActionBar

      public ILcyActionBar 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

      public ILcdAction getAction()
      Returns the ILcdAction 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

      public ILcyActiveSettable getActiveSettable()
      Returns the ILcyActiveSettable 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.