public class DecoratingObservableCollection extends DecoratingObservable implements IObservableCollection
| Constructor and Description |
|---|
DecoratingObservableCollection(IObservableCollection decorated,
boolean disposeDecoratedOnDispose) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
protected void |
addListener(Object listenerType,
IObservablesListener listener) |
void |
clear() |
protected Object |
clone() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
void |
dispose()
Disposes of this observable object, removing all listeners registered
with this object, and all listeners this object might have registered on
other objects.
|
boolean |
equals(Object obj) |
protected void |
fireEvent(ObservableEvent event) |
Object |
getElementType()
Returns the element type of this observable collection, or
null if this observable collection is untyped. |
Realm |
getRealm() |
int |
hashCode() |
protected boolean |
hasListeners() |
boolean |
isEmpty() |
Iterator |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
protected void |
removeListener(Object listenerType,
IObservablesListener listener) |
boolean |
retainAll(Collection c) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
String |
toString() |
firstListenerAdded, getDecorated, getterCalled, handleStaleEvent, isStale, lastListenerRemovedaddChangeListener, addDisposeListener, addStaleListener, checkRealm, fireChange, fireStale, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListenerfinalize, getClass, notify, notifyAll, wait, wait, waitaddChangeListener, addDisposeListener, addStaleListener, getRealm, isDisposed, isStale, removeChangeListener, removeDisposeListener, removeStaleListenerpublic DecoratingObservableCollection(IObservableCollection decorated, boolean disposeDecoratedOnDispose)
decorated - disposeDecoratedOnDispose - public boolean add(Object o)
add in interface Collectionpublic boolean addAll(Collection c)
addAll in interface Collectionpublic void clear()
clear in interface Collectionpublic boolean contains(Object o)
contains in interface Collectionpublic boolean containsAll(Collection c)
containsAll in interface Collectionpublic boolean isEmpty()
isEmpty in interface Collectionpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectionpublic boolean remove(Object o)
remove in interface Collectionpublic boolean removeAll(Collection c)
removeAll in interface Collectionpublic boolean retainAll(Collection c)
retainAll in interface Collectionpublic int size()
size in interface Collectionpublic Object[] toArray()
toArray in interface Collectionpublic Object[] toArray(Object[] a)
toArray in interface Collectionpublic Object getElementType()
IObservableCollectionnull if this observable collection is untyped.getElementType in interface IObservableCollectionnull if this observable collection is untyped.public boolean equals(Object obj)
equals in interface Collectionequals in class DecoratingObservablepublic int hashCode()
hashCode in interface CollectionhashCode in class DecoratingObservablepublic void dispose()
IObservabledispose in interface IObservabledispose in class DecoratingObservableprotected void addListener(Object listenerType, IObservablesListener listener)
listenerType - listener - protected void removeListener(Object listenerType, IObservablesListener listener)
listenerType - listener - protected boolean hasListeners()
protected void fireEvent(ObservableEvent event)
public Realm getRealm()
protected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.