E - The element type of the SimpleSetProperty.public class SimpleSetPropertyEx<E>
extends javafx.beans.property.SimpleSetProperty<E>
SimpleSetProperty to fix the following JavaFX
issue:
bindBidirectional(Property) and
unbindBidirectional(Property), which relied on the wrong
implementation.| Constructor and Description |
|---|
SimpleSetPropertyEx()
Creates a new unnamed
SimpleSetPropertyEx. |
SimpleSetPropertyEx(java.lang.Object bean,
java.lang.String name)
Constructs a new
SimpleSetPropertyEx for the given bean and with
the given name. |
SimpleSetPropertyEx(java.lang.Object bean,
java.lang.String name,
javafx.collections.ObservableSet<E> initialValue)
Constructs a new
SimpleSetPropertyEx for the given bean and with
the given name and initial value. |
SimpleSetPropertyEx(javafx.collections.ObservableSet<E> initialValue)
Constructs a new unnamed
SimpleSetPropertyEx 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.ObservableSet<E>> listener) |
void |
addListener(javafx.beans.InvalidationListener listener) |
void |
addListener(javafx.collections.SetChangeListener<? super E> listener) |
void |
bindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableSet<E>> other) |
boolean |
equals(java.lang.Object other) |
protected void |
fireValueChangedEvent() |
protected void |
fireValueChangedEvent(javafx.collections.SetChangeListener.Change<? extends E> change) |
int |
hashCode() |
void |
removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener) |
void |
removeListener(javafx.beans.InvalidationListener listener) |
void |
removeListener(javafx.collections.SetChangeListener<? super E> listener) |
void |
unbindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableSet<E>> other) |
bind, emptyProperty, get, invalidated, isBound, set, sizeProperty, toString, unbindbindContent, bindContentBidirectional, unbindContent, unbindContentBidirectionaladd, addAll, asString, clear, contains, containsAll, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, remove, removeAll, retainAll, setExpression, size, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic SimpleSetPropertyEx()
SimpleSetPropertyEx.public SimpleSetPropertyEx(java.lang.Object bean,
java.lang.String name)
SimpleSetPropertyEx for the given bean and with
the given name.bean - The bean this property is related to.name - The name of the property.public SimpleSetPropertyEx(java.lang.Object bean,
java.lang.String name,
javafx.collections.ObservableSet<E> initialValue)
SimpleSetPropertyEx 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 SimpleSetPropertyEx(javafx.collections.ObservableSet<E> initialValue)
SimpleSetPropertyEx 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.ObservableSet<E>> listener)
public void addListener(javafx.beans.InvalidationListener listener)
addListener in interface javafx.beans.ObservableaddListener in class javafx.beans.property.SetPropertyBase<E>public void addListener(javafx.collections.SetChangeListener<? super E> listener)
public void bindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableSet<E>> other)
public boolean equals(java.lang.Object other)
protected void fireValueChangedEvent()
fireValueChangedEvent in class javafx.beans.property.SetPropertyBase<E>protected void fireValueChangedEvent(javafx.collections.SetChangeListener.Change<? extends E> change)
fireValueChangedEvent in class javafx.beans.property.SetPropertyBase<E>public int hashCode()
public void removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener)
public void removeListener(javafx.beans.InvalidationListener listener)
removeListener in interface javafx.beans.ObservableremoveListener in class javafx.beans.property.SetPropertyBase<E>public void removeListener(javafx.collections.SetChangeListener<? super E> listener)
public void unbindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableSet<E>> other)
Copyright (c) 2014 itemis AG and others. All rights reserved.