org.xnap.event
Class ListSupport
java.lang.Object
org.xnap.event.ListSupport
public class ListSupport
- extends java.lang.Object
This is a utility class that can be used by data containers to notify
ListEvent
listeners.
Constructor Summary |
ListSupport(java.lang.Object source)
Constructs a ListSupport object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListSupport
public ListSupport(java.lang.Object source)
- Constructs a ListSupport object.
- Parameters:
source
- the object to be given as the source for any events
addListListener
public void addListListener(ListListener listener)
removeListListener
public void removeListListener(ListListener listener)
fireItemAdded
public void fireItemAdded(java.lang.Object item)
fireItemRemoved
public void fireItemRemoved(java.lang.Object item)
Copyright © 2001-2005 XNap Team. All Rights Reserved.