E - The element type of the wrapped ObservableList.public class ReadOnlyListWrapperEx<E>
extends javafx.beans.property.ReadOnlyListWrapper<E>
ReadOnlyListWrapper to fix the following JavaFX
issues:
bindBidirectional(Property) and
unbindBidirectional(Property), which relied on the wrong
implementation.| Constructor and Description |
|---|
ReadOnlyListWrapperEx()
Creates a new unnamed
ReadOnlyListWrapperEx. |
ReadOnlyListWrapperEx(java.lang.Object bean,
java.lang.String name)
Creates a new named
ReadOnlyListWrapperEx related to the given
bean. |
ReadOnlyListWrapperEx(java.lang.Object bean,
java.lang.String name,
javafx.collections.ObservableList<E> initialValue)
Creates a new named
ReadOnlyListWrapperEx, related to the given
bean and provided with the initial value. |
ReadOnlyListWrapperEx(javafx.collections.ObservableList<E> initialValue)
Creates a new unnamed
ReadOnlyListWrapperEx with the given
initial value. |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener) |
void |
addListener(javafx.beans.InvalidationListener listener) |
void |
addListener(javafx.collections.ListChangeListener<? super E> listener) |
void |
bindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableList<E>> other) |
boolean |
equals(java.lang.Object other) |
protected void |
fireValueChangedEvent() |
protected void |
fireValueChangedEvent(javafx.collections.ListChangeListener.Change<? extends E> change) |
javafx.beans.property.ReadOnlyListProperty<E> |
getReadOnlyProperty() |
int |
hashCode() |
void |
removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener) |
void |
removeListener(javafx.beans.InvalidationListener listener) |
void |
removeListener(javafx.collections.ListChangeListener<? super E> listener) |
void |
unbindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableList<E>> other) |
bind, emptyProperty, get, invalidated, isBound, set, sizeProperty, toString, unbindbindContent, bindContentBidirectional, unbindContent, unbindContentBidirectionaladd, add, addAll, addAll, addAll, asString, clear, contains, containsAll, 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, subList, toArray, toArray, valueAt, valueAtclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, filtered, remove, removeAll, retainAll, setAll, setAll, sorted, sortedpublic ReadOnlyListWrapperEx()
ReadOnlyListWrapperEx.public ReadOnlyListWrapperEx(java.lang.Object bean,
java.lang.String name)
ReadOnlyListWrapperEx related to the given
bean.bean - The bean to relate the to be created
ReadOnlyListWrapperEx to.name - The name for the to be created ReadOnlyListWrapperEx.public ReadOnlyListWrapperEx(java.lang.Object bean,
java.lang.String name,
javafx.collections.ObservableList<E> initialValue)
ReadOnlyListWrapperEx, related to the given
bean and provided with the initial value.bean - The bean to relate the to be created
ReadOnlyListWrapperEx to.name - The name for the to be created ReadOnlyListWrapperEx.initialValue - The initial value of the to be created
ReadOnlyListWrapperEx.public ReadOnlyListWrapperEx(javafx.collections.ObservableList<E> initialValue)
ReadOnlyListWrapperEx with the given
initial value.initialValue - The initial value of the to be created
ReadOnlyListWrapperEx.public void addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
public void addListener(javafx.beans.InvalidationListener listener)
addListener in interface javafx.beans.ObservableaddListener in class javafx.beans.property.ReadOnlyListWrapper<E>public void addListener(javafx.collections.ListChangeListener<? super E> listener)
public void bindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableList<E>> other)
public boolean equals(java.lang.Object other)
protected void fireValueChangedEvent()
fireValueChangedEvent in class javafx.beans.property.ReadOnlyListWrapper<E>protected void fireValueChangedEvent(javafx.collections.ListChangeListener.Change<? extends E> change)
fireValueChangedEvent in class javafx.beans.property.ReadOnlyListWrapper<E>public javafx.beans.property.ReadOnlyListProperty<E> getReadOnlyProperty()
getReadOnlyProperty in class javafx.beans.property.ReadOnlyListWrapper<E>public int hashCode()
public void removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
public void removeListener(javafx.beans.InvalidationListener listener)
removeListener in interface javafx.beans.ObservableremoveListener in class javafx.beans.property.ReadOnlyListWrapper<E>public void removeListener(javafx.collections.ListChangeListener<? super E> listener)
public void unbindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableList<E>> other)
Copyright (c) 2014 itemis AG and others. All rights reserved.