E
- The element type of the SimpleListProperty
.public class SimpleListPropertyEx<E>
extends javafx.beans.property.SimpleListProperty<E>
SimpleListProperty
to fix the following JavaFX
issue:
bindBidirectional(Property)
and
unbindBidirectional(Property)
, which relied on the wrong
implementation.Constructor and Description |
---|
SimpleListPropertyEx()
Creates a new unnamed
SimpleListPropertyEx . |
SimpleListPropertyEx(java.lang.Object bean,
java.lang.String name)
Constructs a new
SimpleListPropertyEx for the given bean and with
the given name. |
SimpleListPropertyEx(java.lang.Object bean,
java.lang.String name,
javafx.collections.ObservableList<E> initialValue)
Constructs a new
SimpleListPropertyEx for the given bean and with
the given name and initial value. |
SimpleListPropertyEx(javafx.collections.ObservableList<E> initialValue)
Constructs a new unnamed
SimpleListPropertyEx that is not related
to a bean, 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) |
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, unbind
bindContent, bindContentBidirectional, unbindContent, unbindContentBidirectional
add, 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, valueAt
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, filtered, remove, removeAll, retainAll, setAll, setAll, sorted, sorted
public SimpleListPropertyEx()
SimpleListPropertyEx
.public SimpleListPropertyEx(java.lang.Object bean, java.lang.String name)
SimpleListPropertyEx
for the given bean and with
the given name.bean
- The bean this property is related to.name
- The name of the property.public SimpleListPropertyEx(java.lang.Object bean, java.lang.String name, javafx.collections.ObservableList<E> initialValue)
SimpleListPropertyEx
for the given bean and with
the given name and initial value.bean
- The bean this property is related to.name
- The name of the property.initialValue
- The initial value of the propertypublic SimpleListPropertyEx(javafx.collections.ObservableList<E> initialValue)
SimpleListPropertyEx
that is not related
to a bean, with the given initial value.initialValue
- The initial value of the propertypublic void addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
public void addListener(javafx.beans.InvalidationListener listener)
addListener
in interface javafx.beans.Observable
addListener
in class javafx.beans.property.ListPropertyBase<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.ListPropertyBase<E>
protected void fireValueChangedEvent(javafx.collections.ListChangeListener.Change<? extends E> change)
fireValueChangedEvent
in class javafx.beans.property.ListPropertyBase<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.Observable
removeListener
in class javafx.beans.property.ListPropertyBase<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.