org.zaval.lw.event
Class  LwComponentEvent
java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.zaval.lw.event.LwAWTEvent
              |
              +--org.zaval.lw.event.LwComponentEvent
- All Implemented Interfaces: 
- java.io.Serializable
- public class LwComponentEvent- extends LwAWTEvent
This class is used with light weight components to notify when a component
 has been shown, hidden, disabled or enabled.
- See Also: 
- Serialized Form
| Field Summary | 
| static int | COMP_DISABLEDThe component disabled event type.
 | 
| static int | COMP_ENABLEDThe component enabled event type.
 | 
| static int | COMP_HIDDENThe component hidden event type.
 | 
| static int | COMP_SHOWNThe component shown event type.
 | 
 
 
| Fields inherited from class java.util.EventObject | 
| source | 
 
| Constructor Summary | 
| LwComponentEvent(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 java.util.EventObject | 
| getSource, toString | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
COMP_DISABLED
public static final int COMP_DISABLED
- The component disabled event type.
COMP_ENABLED
public static final int COMP_ENABLED
- The component enabled event type.
COMP_SHOWN
public static final int COMP_SHOWN
- The component shown event type.
COMP_HIDDEN
public static final int COMP_HIDDEN
- The component hidden event type.
LwComponentEvent
public LwComponentEvent(LwComponent target,
                        int id)
- Constructs the event object with the specified source object and the event id.- 
- Parameters:
- target
- id
 
getUID
public int getUID()
- Gets the UID of the event. The class uses LwAWTEvent.COMP_UID as the event UID.- 
- Overrides:
- getUIDin class- LwAWTEvent
 
- 
- Returns:
- an UID.
 
Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org