Package org.eclipse.gef.common.beans.property
This package augments the property API of JavaFX by adding support related to
SetMultimap
and
Multiset
.
It also provides replacements for
ReadOnlyMapWrapper
,
SimpleMapProperty
,
ReadOnlySetWrapper
, and
ReadOnlyListWrapper
, which fix the following
issues:
- https://bugs.openjdk.java.net/browse/JDK-8136465: fixed by keeping track of all listeners and ensuring that remaining listeners are re-added when a listener is removed.
- https://bugs.openjdk.java.net/browse/JDK-8089557: fixed by not forwarding listeners to the read-only property but rather keeping the lists of listeners distinct.
-
Class Summary Class Description MultisetProperty<E> Abstract base class defining contract for aProperty
wrapping aObservableMultiset
.MultisetPropertyBase<E> Abstract base class for implementing aProperty
wrapping anObservableMultiset
.ReadOnlyListPropertyBaseEx<E> A replacement forReadOnlyListWrapper
to fix the following JavaFX issues: Change notifications are fired even when the observed value did not change.ReadOnlyListWrapperEx<E> A replacement forReadOnlyListWrapper
to fix the following JavaFX issues: Change notifications are fired even when the observed value did not change.ReadOnlyMapPropertyBaseEx<K,V> A replacement forReadOnlyMapWrapper
to fix the following JavaFX issues: All listeners were removed when removing one (https://bugs.openjdk.java.net/browse/JDK-8136465): fixed by keeping track of all listeners and ensuring that remaining listeners are re-added when a listener is removed. Change notifications are fired even when the observed value did not change.ReadOnlyMapWrapperEx<K,V> A replacement forReadOnlyMapWrapper
to fix the following JavaFX issues: All listeners were removed when removing one (https://bugs.openjdk.java.net/browse/JDK-8136465): fixed by keeping track of all listeners and ensuring that remaining listeners are re-added when a listener is removed. Change notifications are fired even when the observed value did not change.ReadOnlyMultisetProperty<E> Abstract base class defining contract for a read-onlyProperty
wrapping anObservableMultiset
.ReadOnlyMultisetPropertyBase<E> Abstract base class for implementing a read-onlyProperty
wrapping anObservableMultiset
.ReadOnlyMultisetWrapper<E> AReadOnlyMultisetWrapper
is a writableProperty
wrapping anObservableMultiset
, which provides an additional read-onlyProperty
(based on a concrete, non-exposed implementation ofReadOnlyMultisetProperty
), whose value is synchronized with the value of thisReadOnlyMapWrapper
.ReadOnlySetMultimapProperty<K,V> Abstract base class defining contract for a read-onlyProperty
wrapping anObservableSetMultimap
.ReadOnlySetMultimapPropertyBase<K,V> Abstract base class for implementing a read-onlyProperty
wrapping anObservableSetMultimap
.ReadOnlySetMultimapWrapper<K,V> AReadOnlySetMultimapWrapper
is a writableProperty
wrapping anObservableSetMultimap
, which provides an additional read-onlyProperty
(based on a concrete, non-exposed implementation ofReadOnlySetMultimapProperty
), whose value is synchronized with the value of thisReadOnlyMapWrapper
.ReadOnlySetPropertyBaseEx<E> A replacement forReadOnlySetWrapper
to fix the following JavaFX issues: Change notifications are fired even when the observed value did not change.ReadOnlySetWrapperEx<E> A replacement forReadOnlySetWrapper
to fix the following JavaFX issues: Change notifications are fired even when the observed value did not change.SetMultimapProperty<K,V> Abstract base class defining contract for aProperty
wrapping aObservableSetMultimap
.SetMultimapPropertyBase<K,V> Abstract base class for implementing aProperty
wrapping anObservableSetMultimap
.SimpleListPropertyEx<E> A replacement forSimpleListProperty
to fix the following JavaFX issue: Change notifications are fired even when the observed value did not change.SimpleMapPropertyEx<K,V> A replacement forSimpleMapProperty
to fix the following JavaFX issues: Change notifications are fired even when the observed value did not change.SimpleMultisetProperty<E> A concrete implementation of aProperty
wrapping anObservableMultiset
.SimpleSetMultimapProperty<K,V> A concrete implementation of aProperty
wrapping anObservableSetMultimap
.SimpleSetPropertyEx<E> A replacement forSimpleSetProperty
to fix the following JavaFX issue: Change notifications are fired even when the observed value did not change.