|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--org.zaval.lw.event.LwAWTEvent | +--org.zaval.lw.event.LwFocusEvent
This class is used with light weight components to notify when a component gots or losts focus.
Field Summary | |
static int |
FOCUS_GAINED
The focus gained event type. |
static int |
FOCUS_LOST
The focus lost event type. |
Fields inherited from class org.zaval.lw.event.LwAWTEvent |
COMP_UID, CONT_UID, FOCUS_UID, id, KEY_UID, MOTION_UID, MOUSE_UID, WIN_UID |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
LwFocusEvent(LwComponent target,
int id)
Constructs the event object with the specified source object and the event id. |
Method Summary | |
int |
getUID()
Gets the UID of the event. |
Methods inherited from class org.zaval.lw.event.LwAWTEvent |
getID, getLwComponent |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int FOCUS_LOST
public static final int FOCUS_GAINED
Constructor Detail |
public LwFocusEvent(LwComponent target, int id)
target
- the object where the event originated.id
- the specified event id.Method Detail |
public int getUID()
getUID
in class LwAWTEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |