Class TLcyVerticalViewManagerEvent

java.lang.Object
java.util.EventObject
com.luciad.lucy.addons.vertical.TLcyVerticalViewManagerEvent
All Implemented Interfaces:
Serializable

public class TLcyVerticalViewManagerEvent extends EventObject
The event fired when a TLcyVerticalViewManager is changed. Current changes include the addition or removal of a Vertical View.
See Also:
  • Field Details

    • VERTICAL_VIEW_ADDED

      public static final int VERTICAL_VIEW_ADDED
      Indicates that a vertical view was added.
      See Also:
    • VERTICAL_VIEW_REMOVED

      public static final int VERTICAL_VIEW_REMOVED
      Indicates that a vertical view was removed.
      See Also:
  • Constructor Details

    • TLcyVerticalViewManagerEvent

      public TLcyVerticalViewManagerEvent(int aID, Component aVerticalView, TLcyVerticalViewManager aVerticalViewManager)
      Constructs a new TLcyVerticalViewManagerEvent.
      Parameters:
      aID - The id of the event, indicating what happened. Must be VERTICAL_VIEW_ADDED or VERTICAL_VIEW_REMOVED.
      aVerticalView - The vertical view involved in this event.
      aVerticalViewManager - The TLcyVerticalViewManager involved in this event.
  • Method Details

    • getID

      public int getID()
      Returns the ID of the event, indicating what happened.
      Returns:
      VERTICAL_VIEW_ADDED or VERTICAL_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

      public Component getVerticalView()
      Returns the vertical view which is involved in this event.
      Returns:
      The vertical view which is involved in this event.
    • getVerticalViewManager

      public TLcyVerticalViewManager getVerticalViewManager()
      Returns the TLcyVerticalViewManager involved in this event.
      Returns:
      The TLcyVerticalViewManager involved in this event.