public class TLcyVerticalViewManagerEvent extends EventObject
TLcyVerticalViewManager
is changed. Current changes include
the addition or removal of a Vertical View.Modifier and Type | Field and Description |
---|---|
static int |
VERTICAL_VIEW_ADDED
Indicates that a vertical view was added.
|
static int |
VERTICAL_VIEW_REMOVED
Indicates that a vertical view was removed.
|
source
Constructor and Description |
---|
TLcyVerticalViewManagerEvent(int aID,
Component aVerticalView,
TLcyVerticalViewManager aVerticalViewManager)
Constructs a new
TLcyVerticalViewManagerEvent . |
Modifier and Type | Method and Description |
---|---|
int |
getID()
Returns the ID of the event, indicating what happened.
|
Component |
getVerticalView()
Returns the vertical view which is involved in this event.
|
TLcyVerticalViewManager |
getVerticalViewManager()
Returns the
TLcyVerticalViewManager involved in this event. |
getSource, toString
public static final int VERTICAL_VIEW_ADDED
public static final int VERTICAL_VIEW_REMOVED
public TLcyVerticalViewManagerEvent(int aID, Component aVerticalView, TLcyVerticalViewManager aVerticalViewManager)
TLcyVerticalViewManagerEvent
.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.public int getID()
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.public Component getVerticalView()
public TLcyVerticalViewManager getVerticalViewManager()
TLcyVerticalViewManager
involved in this event.TLcyVerticalViewManager
involved in this event.