E - public class DecoratingObservableCollection<E> extends DecoratingObservable implements IObservableCollection<E>
| Constructor and Description |
|---|
DecoratingObservableCollection(IObservableCollection<E> decorated,
boolean disposeDecoratedOnDispose) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
boolean |
addAll(java.util.Collection<? extends E> c) |
protected void |
addListener(java.lang.Object listenerType,
IObservablesListener listener) |
void |
clear() |
protected java.lang.Object |
clone() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.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(java.lang.Object obj) |
protected void |
fireEvent(ObservableEvent event) |
java.lang.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() |
java.util.Iterator<E> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
protected void |
removeListener(java.lang.Object listenerType,
IObservablesListener listener) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
java.lang.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<E> decorated, boolean disposeDecoratedOnDispose)
decorated - disposeDecoratedOnDispose - public boolean addAll(java.util.Collection<? extends E> c)
addAll in interface java.util.Collection<E>public void clear()
clear in interface java.util.Collection<E>public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<E>public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<E>public boolean isEmpty()
isEmpty in interface java.util.Collection<E>public java.util.Iterator<E> iterator()
public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<E>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<E>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<E>public int size()
size in interface java.util.Collection<E>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<E>public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<E>public java.lang.Object getElementType()
IObservableCollectionnull if this observable collection is untyped.getElementType in interface IObservableCollection<E>null if this observable collection is untyped.public boolean equals(java.lang.Object obj)
equals in interface java.util.Collection<E>equals in class DecoratingObservablepublic int hashCode()
hashCode in interface java.util.Collection<E>hashCode in class DecoratingObservablepublic java.lang.String toString()
toString in class java.lang.Objectpublic void dispose()
IObservabledispose in interface IObservabledispose in class DecoratingObservableprotected void addListener(java.lang.Object listenerType,
IObservablesListener listener)
listenerType - listener - protected void removeListener(java.lang.Object listenerType,
IObservablesListener listener)
listenerType - listener - protected boolean hasListeners()
protected void fireEvent(ObservableEvent event)
public Realm getRealm()
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.