cz.cuni.amis.pogamut.base.utils.collections.adapters
Class WVObjectsSetAdapter<T extends IViewable>

java.lang.Object
  extended by cz.cuni.amis.utils.collections.ObservableCollection<E>
      extended by cz.cuni.amis.utils.collections.ObservableSet<T>
          extended by cz.cuni.amis.pogamut.base.utils.collections.adapters.WVObjectsSetAdapter<T>
All Implemented Interfaces:
java.lang.Iterable<T>, java.util.Collection<T>, java.util.Set<T>

public class WVObjectsSetAdapter<T extends IViewable>
extends ObservableSet<T>

Provides set of all existing world objects extending some class as observable set.


Field Summary
 
Fields inherited from class cz.cuni.amis.utils.collections.ObservableSet
s
 
Fields inherited from class cz.cuni.amis.utils.collections.ObservableCollection
col, eventListeners
 
Constructor Summary
WVObjectsSetAdapter(java.lang.Class<T> objectClass, IWorldView worldView)
           
 
Method Summary
 
Methods inherited from class cz.cuni.amis.utils.collections.ObservableCollection
add, addAll, addCollectionListener, clear, contains, containsAll, isEmpty, iterator, notifyPostAdd, notifyPostRemove, notifyPreAdd, notifyPreRemove, remove, removeAll, removeCollectionListener, retainAll, size, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

WVObjectsSetAdapter

public WVObjectsSetAdapter(java.lang.Class<T> objectClass,
                           IWorldView worldView)