org.dishevelled.observable.event
Class CollectionChangeEvent<E>

java.lang.Object
  extended by java.util.EventObject
      extended by org.dishevelled.observable.event.CollectionChangeEvent<E>
Type Parameters:
E - collection element type
All Implemented Interfaces:
Serializable

public class CollectionChangeEvent<E>
extends EventObject

An event object representing a change made to an observable collection.

Version:
$Revision$ $Date$
Author:
Michael Heuer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CollectionChangeEvent(ObservableCollection<E> source)
          Create a new collection change event with the specified observable collection as the event source.
 
Method Summary
 ObservableCollection<E> getObservableCollection()
          Return the source of this collection change event as an ObservableCollection.
 
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
 

Constructor Detail

CollectionChangeEvent

public CollectionChangeEvent(ObservableCollection<E> source)
Create a new collection change event with the specified observable collection as the event source.

Parameters:
source - source of the event
Method Detail

getObservableCollection

public final ObservableCollection<E> getObservableCollection()
Return the source of this collection change event as an ObservableCollection.

Returns:
the source of this collection change event as an ObservableCollection


Copyright (c) 2003-2012 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).