textbender.g.util
Class CollectionEvent<E>
java.lang.Object
  
java.util.EventObject
      
CollectionEvent<E>
- All Implemented Interfaces: 
 - Serializable
 
- Direct Known Subclasses: 
 - CollectionEvent.ElementAdded, CollectionEvent.ElementRemoved
 
public abstract class CollectionEvent<E>
- extends EventObject
 
An event generated by a change to a collection.
- See Also:
 - Serialized Form
 
 
 
 
 
| 
Method Summary | 
 E | 
getElement()
 
          Returns the element that is the object of this event. | 
 
 
 
element
protected final E element
CollectionEvent
protected CollectionEvent(Object source,
                          E element)
- Creates a CollectionEvent.
- Parameters:
 source - typically the CollectionListener.Registry
         where the listener originally registered
         (not necessarily the collection itself)element - per getElement()
 
getElement
public E getElement()
- Returns the element that is the object of this event.