public abstract class ObservableSetBase<E>
extends java.util.AbstractSet<E>
implements javafx.collections.ObservableSet<E>
Modifier and Type | Class and Description |
---|---|
static class |
ObservableSetBase.BaseAddChange<T> |
static class |
ObservableSetBase.BaseRemoveChange<T> |
Constructor and Description |
---|
ObservableSetBase() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(javafx.beans.InvalidationListener listener) |
void |
addListener(javafx.collections.SetChangeListener<? super E> listener) |
protected void |
fireChange(javafx.collections.SetChangeListener.Change<? extends E> change) |
protected boolean |
hasListeners()
Returns true if there are some listeners registered for this list.
|
void |
removeListener(javafx.beans.InvalidationListener listener) |
void |
removeListener(javafx.collections.SetChangeListener<? super E> listener) |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public final void addListener(javafx.beans.InvalidationListener listener)
addListener
in interface javafx.beans.Observable
public final void removeListener(javafx.beans.InvalidationListener listener)
removeListener
in interface javafx.beans.Observable
public final void addListener(javafx.collections.SetChangeListener<? super E> listener)
addListener
in interface javafx.collections.ObservableSet<E>
public final void removeListener(javafx.collections.SetChangeListener<? super E> listener)
removeListener
in interface javafx.collections.ObservableSet<E>
protected final void fireChange(javafx.collections.SetChangeListener.Change<? extends E> change)
protected final boolean hasListeners()