E
- The element type of the SimpleSetProperty
.public class SimpleSetPropertyEx<E> extends SimpleSetProperty<E>
SimpleSetProperty
to fix the following JavaFX
issue:
empty, size
Constructor and Description |
---|
SimpleSetPropertyEx()
Creates a new unnamed
SimpleSetPropertyEx . |
SimpleSetPropertyEx(Object bean,
String name)
Constructs a new
SimpleSetPropertyEx for the given bean and with
the given name. |
SimpleSetPropertyEx(Object bean,
String name,
ObservableSet<E> initialValue)
Constructs a new
SimpleSetPropertyEx for the given bean and with
the given name and initial value. |
SimpleSetPropertyEx(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(ChangeListener<? super ObservableSet<E>> listener) |
void |
addListener(InvalidationListener listener) |
void |
addListener(SetChangeListener<? super E> listener) |
protected void |
fireValueChangedEvent() |
protected void |
fireValueChangedEvent(SetChangeListener.Change<? extends E> change) |
int |
hashCode() |
void |
removeListener(ChangeListener<? super ObservableSet<E>> listener) |
void |
removeListener(InvalidationListener listener) |
void |
removeListener(SetChangeListener<? super E> listener) |
getBean, getName
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
getValue
getValue
add, addAll, clear, contains, containsAll, equals, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
public SimpleSetPropertyEx()
SimpleSetPropertyEx
.public SimpleSetPropertyEx(Object bean, 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(Object bean, String name, 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(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(ChangeListener<? super ObservableSet<E>> listener)
addListener
in interface ObservableValue<ObservableSet<E>>
addListener
in class SetPropertyBase<E>
public void addListener(InvalidationListener listener)
addListener
in interface Observable
addListener
in class SetPropertyBase<E>
public void addListener(SetChangeListener<? super E> listener)
addListener
in interface ObservableSet<E>
addListener
in class SetPropertyBase<E>
protected void fireValueChangedEvent()
fireValueChangedEvent
in class SetPropertyBase<E>
protected void fireValueChangedEvent(SetChangeListener.Change<? extends E> change)
fireValueChangedEvent
in class SetPropertyBase<E>
public int hashCode()
hashCode
in interface Collection<E>
hashCode
in interface Set<E>
hashCode
in class ReadOnlySetProperty<E>
public void removeListener(ChangeListener<? super ObservableSet<E>> listener)
removeListener
in interface ObservableValue<ObservableSet<E>>
removeListener
in class SetPropertyBase<E>
public void removeListener(InvalidationListener listener)
removeListener
in interface Observable
removeListener
in class SetPropertyBase<E>
public void removeListener(SetChangeListener<? super E> listener)
removeListener
in interface ObservableSet<E>
removeListener
in class SetPropertyBase<E>
Copyright (c) 2014 itemis AG and others. All rights reserved.