org.xnap.event
Class ListSupport

java.lang.Object
  extended by 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.
 
Method Summary
 void addListListener(ListListener listener)
           
 void fireItemAdded(java.lang.Object item)
           
 void fireItemRemoved(java.lang.Object item)
           
 void removeListListener(ListListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListSupport

public ListSupport(java.lang.Object source)
Constructs a ListSupport object.

Parameters:
source - the object to be given as the source for any events
Method Detail

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.