Class ReadOnlySetPropertyBaseEx<E>
- java.lang.Object
-
- javafx.beans.binding.SetExpression<E>
-
- javafx.beans.property.ReadOnlySetProperty<E>
-
- javafx.beans.property.ReadOnlySetPropertyBase<E>
-
- org.eclipse.gef.common.beans.property.ReadOnlySetPropertyBaseEx<E>
-
- Type Parameters:
E- The element type of the wrappedObservableSet.
- All Implemented Interfaces:
java.lang.Iterable<E>,java.util.Collection<E>,java.util.Set<E>,javafx.beans.Observable,javafx.beans.property.ReadOnlyProperty<javafx.collections.ObservableSet<E>>,javafx.beans.value.ObservableObjectValue<javafx.collections.ObservableSet<E>>,javafx.beans.value.ObservableSetValue<E>,javafx.beans.value.ObservableValue<javafx.collections.ObservableSet<E>>,javafx.collections.ObservableSet<E>
public abstract class ReadOnlySetPropertyBaseEx<E> extends javafx.beans.property.ReadOnlySetPropertyBase<E>A replacement forReadOnlySetWrapperto fix the following JavaFX issues:- Change notifications are fired even when the observed value did not change.(https://bugs.openjdk.java.net/browse/JDK-8089169)
-
-
Constructor Summary
Constructors Constructor Description ReadOnlySetPropertyBaseEx()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListener(javafx.beans.InvalidationListener listener)voidaddListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener)voidaddListener(javafx.collections.SetChangeListener<? super E> listener)protected voidfireValueChangedEvent()protected voidfireValueChangedEvent(javafx.collections.SetChangeListener.Change<? extends E> change)inthashCode()voidremoveListener(javafx.beans.InvalidationListener listener)voidremoveListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener)voidremoveListener(javafx.collections.SetChangeListener<? super E> listener)-
Methods inherited from class javafx.beans.property.ReadOnlySetProperty
bindContent, bindContentBidirectional, equals, toString, unbindContent, unbindContentBidirectional
-
Methods inherited from class javafx.beans.binding.SetExpression
add, addAll, asString, clear, contains, containsAll, emptyProperty, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, remove, removeAll, retainAll, setExpression, size, sizeProperty, toArray, toArray
-
-
-
-
Method Detail
-
addListener
public void addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener)
-
addListener
public void addListener(javafx.beans.InvalidationListener listener)
- Specified by:
addListenerin interfacejavafx.beans.Observable- Overrides:
addListenerin classjavafx.beans.property.ReadOnlySetPropertyBase<E>
-
addListener
public void addListener(javafx.collections.SetChangeListener<? super E> listener)
-
fireValueChangedEvent
protected void fireValueChangedEvent()
- Overrides:
fireValueChangedEventin classjavafx.beans.property.ReadOnlySetPropertyBase<E>
-
fireValueChangedEvent
protected void fireValueChangedEvent(javafx.collections.SetChangeListener.Change<? extends E> change)
- Overrides:
fireValueChangedEventin classjavafx.beans.property.ReadOnlySetPropertyBase<E>
-
hashCode
public int hashCode()
-
removeListener
public void removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener)
-
removeListener
public void removeListener(javafx.beans.InvalidationListener listener)
- Specified by:
removeListenerin interfacejavafx.beans.Observable- Overrides:
removeListenerin classjavafx.beans.property.ReadOnlySetPropertyBase<E>
-
-