E
- The element type of the wrapped ObservableSet
.public class ReadOnlySetWrapperEx<E>
extends javafx.beans.property.ReadOnlySetWrapper<E>
ReadOnlySetWrapper
to fix the following JavaFX
issues:
Constructor and Description |
---|
ReadOnlySetWrapperEx()
Creates a new unnamed
ReadOnlySetWrapperEx . |
ReadOnlySetWrapperEx(java.lang.Object bean,
java.lang.String name)
Creates a new named
ReadOnlySetWrapperEx related to the given
bean. |
ReadOnlySetWrapperEx(java.lang.Object bean,
java.lang.String name,
javafx.collections.ObservableSet<E> initialValue)
Creates a new named
ReadOnlySetWrapperEx , related to the given
bean and provided with the initial value. |
ReadOnlySetWrapperEx(javafx.collections.ObservableSet<E> initialValue)
Creates a new unnamed
ReadOnlySetWrapperEx 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) |
protected void |
fireValueChangedEvent() |
protected void |
fireValueChangedEvent(javafx.collections.SetChangeListener.Change<? extends E> change) |
javafx.beans.property.ReadOnlySetProperty<E> |
getReadOnlyProperty() |
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) |
bind, emptyProperty, get, invalidated, isBound, set, sizeProperty, toString, unbind
bindBidirectional, setValue, unbindBidirectional
bindContent, bindContentBidirectional, equals, unbindContent, unbindContentBidirectional
add, addAll, asString, clear, contains, containsAll, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, remove, removeAll, retainAll, setExpression, size, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public ReadOnlySetWrapperEx()
ReadOnlySetWrapperEx
.public ReadOnlySetWrapperEx(java.lang.Object bean, java.lang.String name)
ReadOnlySetWrapperEx
related to the given
bean.bean
- The bean to relate the to be created
ReadOnlySetWrapperEx
to.name
- The name for the to be created ReadOnlySetWrapperEx
.public ReadOnlySetWrapperEx(java.lang.Object bean, java.lang.String name, javafx.collections.ObservableSet<E> initialValue)
ReadOnlySetWrapperEx
, related to the given
bean and provided with the initial value.bean
- The bean to relate the to be created
ReadOnlySetWrapperEx
to.name
- The name for the to be created ReadOnlySetWrapperEx
.initialValue
- The initial value of the to be created
ReadOnlySetWrapperEx
.public ReadOnlySetWrapperEx(javafx.collections.ObservableSet<E> initialValue)
ReadOnlySetWrapperEx
with the given initial
value.initialValue
- The initial value of the to be created
ReadOnlySetWrapperEx
.public void addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener)
public void addListener(javafx.beans.InvalidationListener listener)
addListener
in interface javafx.beans.Observable
addListener
in class javafx.beans.property.SetPropertyBase<E>
public void addListener(javafx.collections.SetChangeListener<? super E> listener)
protected void fireValueChangedEvent()
fireValueChangedEvent
in class javafx.beans.property.ReadOnlySetWrapper<E>
protected void fireValueChangedEvent(javafx.collections.SetChangeListener.Change<? extends E> change)
fireValueChangedEvent
in class javafx.beans.property.ReadOnlySetWrapper<E>
public javafx.beans.property.ReadOnlySetProperty<E> getReadOnlyProperty()
getReadOnlyProperty
in class javafx.beans.property.ReadOnlySetWrapper<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.Observable
removeListener
in class javafx.beans.property.SetPropertyBase<E>
Copyright (c) 2014 itemis AG and others. All rights reserved.