| 
 | ||||||||||
| 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
This class is basic for all light weight events. Every light event class that inherits the class has to provide:
getID method.getUID method. The event class UID defines type of the
     event, for example LwMouseEvent has LwAWTEvent.MOUSE_UID UID for all ids.
   
| Field Summary | |
| static int | COMP_UIDThe component event UID. | 
| static int | CONT_UIDThe container event UID. | 
| static int | FOCUS_UIDThe focus event UID. | 
| protected  int | idThe event id. | 
| static int | KEY_UIDThe key event UID. | 
| static int | MOTION_UIDThe mouse motion event UID. | 
| static int | MOUSE_UIDThe mouse event UID. | 
| static int | WIN_UIDThe window event UID. | 
| Fields inherited from class java.util.EventObject | 
| source | 
| Constructor Summary | |
| LwAWTEvent(LwComponent target,
           int id)Constructs an event object with the specified source object and the event id. | |
| Method Summary | |
|  int | getID()Gets the event id. | 
|  LwComponent | getLwComponent()Gets the source object of the event as LwComponent instance. | 
|  int | getUID()Gets the UID of the event. | 
| 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 COMP_UID
public static final int MOUSE_UID
public static final int KEY_UID
public static final int FOCUS_UID
public static final int CONT_UID
public static final int MOTION_UID
public static final int WIN_UID
protected int id
| Constructor Detail | 
public LwAWTEvent(LwComponent target,
                  int id)
targetid| Method Detail | 
public int getID()
public LwComponent getLwComponent()
public int getUID()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||