cz.cuni.amis.pogamut.base.utils.collections.adapters
Class WVVisibleObjectsSetAdapter<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.WVVisibleObjectsSetAdapter<T>
All Implemented Interfaces:
java.lang.Iterable<T>, java.util.Collection<T>, java.util.Set<T>

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

Provides set of all visible 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
WVVisibleObjectsSetAdapter(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

WVVisibleObjectsSetAdapter

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