org.zaval.lw.event
Class LwWinEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.zaval.lw.event.LwAWTEvent
|
+--org.zaval.lw.event.LwWinEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class LwWinEvent
- extends LwAWTEvent
This class is used with light weight components to notify when a window component
has been opened, closed, activated or deactivated.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
LwWinEvent(LwComponent win,
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 java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WIN_ACTIVATED
public static final int WIN_ACTIVATED
- The win activated event type.
WIN_DEACTIVATED
public static final int WIN_DEACTIVATED
- The win deactivated event type.
WIN_OPENED
public static final int WIN_OPENED
- The win opened event type.
WIN_CLOSED
public static final int WIN_CLOSED
- The win closed event type.
LwWinEvent
public LwWinEvent(LwComponent win,
int id)
- Constructs the event object with the specified source object and the event id.
- Parameters:
win
- the object where the event originated.id
- the specified event id.
getUID
public int getUID()
- Gets the UID of the event. The class uses LwAWTEvent.WIN_UID as the event UID.
- Overrides:
getUID
in class LwAWTEvent
- Returns:
- an UID.
Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org