|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfds.micro.ui.events.EventUI
fds.micro.ui.events.ContainerEvent
This class is used with Component sub-classes for container events.
Field Summary | |
static int |
COMPONENT_ADDED
Define the constant for an added component. |
static int |
COMPONENT_REMOVED
Define the constant for a removed component. |
Constructor Summary | |
ContainerEvent(AbstractPanel source,
int type,
Component component)
Build an component event raised by given source component. |
Method Summary | |
Component |
getComponent()
Get the added or removed component. |
int |
getType()
Get the event type. |
java.lang.String |
toString()
Give String description of this event. |
Methods inherited from class fds.micro.ui.events.EventUI |
getSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int COMPONENT_ADDED
public static final int COMPONENT_REMOVED
Constructor Detail |
public ContainerEvent(AbstractPanel source, int type, Component component)
source
- The container that have produced the event.type
- The event type. Must be COMPONENT_REMOVED or COMPONENT_ADDED.component
- The added or removed component.Method Detail |
public Component getComponent()
public int getType()
public java.lang.String toString()
EventUI
toString
in class EventUI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |