org.zaval.lw.event
Class LwActionEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.zaval.lw.event.LwActionEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class LwActionEvent
- extends java.util.EventObject
This class represents action event.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
LwActionEvent(java.lang.Object target)
Constructs an LwActionEvent object with the specified source object. |
LwActionEvent(java.lang.Object target,
java.lang.Object data)
Constructs an LwActionEvent object with the specified source object and the
given data. |
Method Summary |
java.lang.Object |
getData()
Gets the data. |
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 |
LwActionEvent
public LwActionEvent(java.lang.Object target)
- Constructs an LwActionEvent object with the specified source object.
- Parameters:
target
- the object where the event originated.
LwActionEvent
public LwActionEvent(java.lang.Object target,
java.lang.Object data)
- Constructs an LwActionEvent object with the specified source object and the
given data. The data type depends on the event source object, it means that
if your class fires the event type than the data field can be used to store
additional information relating to the action event.
- Parameters:
target
- the object where the event originated.data
- the data.
getData
public java.lang.Object getData()
- Gets the data.
- Returns:
- data.
Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org