Class ReadOnlyListPropertyBaseEx<E>
- java.lang.Object
-
- javafx.beans.binding.ListExpression<E>
-
- javafx.beans.property.ReadOnlyListProperty<E>
-
- javafx.beans.property.ReadOnlyListPropertyBase<E>
-
- org.eclipse.gef.common.beans.property.ReadOnlyListPropertyBaseEx<E>
-
- Type Parameters:
E
- The element type of the wrappedObservableList
.
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.List<E>
,javafx.beans.Observable
,javafx.beans.property.ReadOnlyProperty<javafx.collections.ObservableList<E>>
,javafx.beans.value.ObservableListValue<E>
,javafx.beans.value.ObservableObjectValue<javafx.collections.ObservableList<E>>
,javafx.beans.value.ObservableValue<javafx.collections.ObservableList<E>>
,javafx.collections.ObservableList<E>
public abstract class ReadOnlyListPropertyBaseEx<E> extends javafx.beans.property.ReadOnlyListPropertyBase<E>
A replacement forReadOnlyListWrapper
to 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 ReadOnlyListPropertyBaseEx()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(javafx.beans.InvalidationListener listener)
void
addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
void
addListener(javafx.collections.ListChangeListener<? super E> listener)
protected void
fireValueChangedEvent()
protected void
fireValueChangedEvent(javafx.collections.ListChangeListener.Change<? extends E> change)
int
hashCode()
void
removeListener(javafx.beans.InvalidationListener listener)
void
removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
void
removeListener(javafx.collections.ListChangeListener<? super E> listener)
-
Methods inherited from class javafx.beans.property.ReadOnlyListProperty
bindContent, bindContentBidirectional, equals, toString, unbindContent, unbindContentBidirectional
-
Methods inherited from class javafx.beans.binding.ListExpression
add, add, addAll, addAll, addAll, asString, clear, contains, containsAll, emptyProperty, get, getSize, getValue, indexOf, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, lastIndexOf, listExpression, listIterator, listIterator, remove, remove, remove, removeAll, removeAll, retainAll, retainAll, set, setAll, setAll, size, sizeProperty, subList, toArray, toArray, valueAt, valueAt
-
-
-
-
Method Detail
-
addListener
public void addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
-
addListener
public void addListener(javafx.beans.InvalidationListener listener)
- Specified by:
addListener
in interfacejavafx.beans.Observable
- Overrides:
addListener
in classjavafx.beans.property.ReadOnlyListPropertyBase<E>
-
addListener
public void addListener(javafx.collections.ListChangeListener<? super E> listener)
-
fireValueChangedEvent
protected void fireValueChangedEvent()
- Overrides:
fireValueChangedEvent
in classjavafx.beans.property.ReadOnlyListPropertyBase<E>
-
fireValueChangedEvent
protected void fireValueChangedEvent(javafx.collections.ListChangeListener.Change<? extends E> change)
- Overrides:
fireValueChangedEvent
in classjavafx.beans.property.ReadOnlyListPropertyBase<E>
-
hashCode
public int hashCode()
-
removeListener
public void removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
-
removeListener
public void removeListener(javafx.beans.InvalidationListener listener)
- Specified by:
removeListener
in interfacejavafx.beans.Observable
- Overrides:
removeListener
in classjavafx.beans.property.ReadOnlyListPropertyBase<E>
-
-