E - The element type of the wrapped ObservableSet.public class ReadOnlySetWrapperEx<E> extends ReadOnlySetWrapper<E>
ReadOnlySetWrapper to fix the following JavaFX
issues:
empty, size| Constructor and Description |
|---|
ReadOnlySetWrapperEx()
Creates a new unnamed
ReadOnlySetWrapperEx. |
ReadOnlySetWrapperEx(Object bean,
String name)
Creates a new named
ReadOnlySetWrapperEx related to the given
bean. |
ReadOnlySetWrapperEx(Object bean,
String name,
ObservableSet<E> initialValue)
Creates a new named
ReadOnlySetWrapperEx, related to the given
bean and provided with the initial value. |
ReadOnlySetWrapperEx(ObservableSet<E> initialValue)
Creates a new unnamed
ReadOnlySetWrapperEx with the given initial
value. |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ChangeListener<? super ObservableSet<E>> listener) |
void |
addListener(InvalidationListener listener) |
void |
addListener(SetChangeListener<? super E> listener) |
protected void |
fireValueChangedEvent() |
protected void |
fireValueChangedEvent(SetChangeListener.Change<? extends E> change) |
ReadOnlySetProperty<E> |
getReadOnlyProperty() |
int |
hashCode() |
void |
removeListener(ChangeListener<? super ObservableSet<E>> listener) |
void |
removeListener(InvalidationListener listener) |
void |
removeListener(SetChangeListener<? super E> listener) |
getBean, getNamebind, emptyProperty, get, invalidated, isBound, set, sizeProperty, toString, unbindbindBidirectional, setValue, unbindBidirectionalbindContent, bindContentBidirectional, equals, unbindContent, unbindContentBidirectionaladd, addAll, asString, clear, contains, containsAll, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, remove, removeAll, retainAll, setExpression, size, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValuegetValueadd, addAll, clear, contains, containsAll, equals, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic ReadOnlySetWrapperEx()
ReadOnlySetWrapperEx.public ReadOnlySetWrapperEx(Object bean, String name)
ReadOnlySetWrapperEx related to the given
bean.bean - The bean to relate the to be created
ReadOnlySetWrapperEx to.name - The name for the to be created ReadOnlySetWrapperEx.public ReadOnlySetWrapperEx(Object bean, String name, ObservableSet<E> initialValue)
ReadOnlySetWrapperEx, related to the given
bean and provided with the initial value.bean - The bean to relate the to be created
ReadOnlySetWrapperEx to.name - The name for the to be created ReadOnlySetWrapperEx.initialValue - The initial value of the to be created
ReadOnlySetWrapperEx.public ReadOnlySetWrapperEx(ObservableSet<E> initialValue)
ReadOnlySetWrapperEx with the given initial
value.initialValue - The initial value of the to be created
ReadOnlySetWrapperEx.public void addListener(ChangeListener<? super ObservableSet<E>> listener)
addListener in interface ObservableValue<ObservableSet<E>>addListener in class SetPropertyBase<E>public void addListener(InvalidationListener listener)
addListener in interface ObservableaddListener in class SetPropertyBase<E>public void addListener(SetChangeListener<? super E> listener)
addListener in interface ObservableSet<E>addListener in class SetPropertyBase<E>protected void fireValueChangedEvent()
fireValueChangedEvent in class ReadOnlySetWrapper<E>protected void fireValueChangedEvent(SetChangeListener.Change<? extends E> change)
fireValueChangedEvent in class ReadOnlySetWrapper<E>public ReadOnlySetProperty<E> getReadOnlyProperty()
getReadOnlyProperty in class ReadOnlySetWrapper<E>public int hashCode()
hashCode in interface Collection<E>hashCode in interface Set<E>hashCode in class ReadOnlySetProperty<E>public void removeListener(ChangeListener<? super ObservableSet<E>> listener)
removeListener in interface ObservableValue<ObservableSet<E>>removeListener in class SetPropertyBase<E>public void removeListener(InvalidationListener listener)
removeListener in interface ObservableremoveListener in class SetPropertyBase<E>public void removeListener(SetChangeListener<? super E> listener)
removeListener in interface ObservableSet<E>removeListener in class SetPropertyBase<E>Copyright (c) 2014 itemis AG and others. All rights reserved.