org.zaval.lw.event
Class LwActionSupport
java.lang.Object
|
+--org.zaval.lw.event.LwActionSupport
- public class LwActionSupport
- extends java.lang.Object
This is utility class that can be used by a class that generates action events to support
list of LwActionListener classes.
|
Method Summary |
void |
addListener(LwActionListener l)
Adds the specified action listener to the listeners list. |
void |
perform(java.lang.Object src,
java.lang.Object data)
Fires the specified action event to every member of the listeners list. |
void |
removeListener(LwActionListener l)
Removes the specified listener from the listeners list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LwActionSupport
public LwActionSupport()
addListener
public void addListener(LwActionListener l)
- Adds the specified action listener to the listeners list.
- Parameters:
l - the specified listener.
removeListener
public void removeListener(LwActionListener l)
- Removes the specified listener from the listeners list.
- Parameters:
l - the specified listener.
perform
public void perform(java.lang.Object src,
java.lang.Object data)
- Fires the specified action event to every member of the listeners list.
- Parameters:
src - the specified event source.data - the specified event related data.
|