| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcz.cuni.amis.utils.collections.ObservableCollection<E>
cz.cuni.amis.utils.collections.ObservableList<T>
cz.cuni.amis.utils.collections.TranslatedObservableCollection<T,U>
public abstract class TranslatedObservableCollection<T,U>

Translates one observable collection into another
| Field Summary | 
|---|
| Fields inherited from class cz.cuni.amis.utils.collections.ObservableList | 
|---|
| l | 
| Fields inherited from class cz.cuni.amis.utils.collections.ObservableCollection | 
|---|
| col, eventListeners | 
| Constructor Summary | |
|---|---|
| TranslatedObservableCollection(ObservableCollection<U> col) | |
| Method Summary | |
|---|---|
| protected  java.lang.Object | getKeyForObj(U elem) | 
| protected  void | insert(U elem) | 
| protected abstract  T | translate(U obj)Translates object from wrapped collection into this collection. | 
| Methods inherited from class cz.cuni.amis.utils.collections.ObservableList | 
|---|
| add, addAll, addAll, clear, get, getList, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList | 
| Methods inherited from class cz.cuni.amis.utils.collections.ObservableCollection | 
|---|
| add, addCollectionListener, 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.List | 
|---|
| add, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray | 
| Constructor Detail | 
|---|
public TranslatedObservableCollection(ObservableCollection<U> col)
| Method Detail | 
|---|
protected void insert(U elem)
protected java.lang.Object getKeyForObj(U elem)
protected abstract T translate(U obj)
obj - object to be translated
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||