E
- The element type of the SimpleListProperty
.public class SimpleListPropertyEx<E> extends SimpleListProperty<E>
SimpleListProperty
to fix the following JavaFX
issue:
empty, size
Constructor and Description |
---|
SimpleListPropertyEx()
Creates a new unnamed
SimpleListPropertyEx . |
SimpleListPropertyEx(Object bean,
String name)
Constructs a new
SimpleListPropertyEx for the given bean and with
the given name. |
SimpleListPropertyEx(Object bean,
String name,
ObservableList<E> initialValue)
Constructs a new
SimpleListPropertyEx for the given bean and with
the given name and initial value. |
SimpleListPropertyEx(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(ChangeListener<? super ObservableList<E>> listener) |
void |
addListener(InvalidationListener listener) |
void |
addListener(ListChangeListener<? super E> listener) |
protected void |
fireValueChangedEvent() |
protected void |
fireValueChangedEvent(ListChangeListener.Change<? extends E> change) |
int |
hashCode() |
void |
removeListener(ChangeListener<? super ObservableList<E>> listener) |
void |
removeListener(InvalidationListener listener) |
void |
removeListener(ListChangeListener<? super E> listener) |
getBean, getName
bind, emptyProperty, get, invalidated, isBound, set, sizeProperty, toString, unbind
bindBidirectional, setValue, unbindBidirectional
bindContent, bindContentBidirectional, equals, 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
getValue
getValue
addAll, filtered, remove, removeAll, retainAll, setAll, setAll, sorted, sorted
add, add, addAll, addAll, clear, contains, containsAll, equals, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public SimpleListPropertyEx()
SimpleListPropertyEx
.public SimpleListPropertyEx(Object bean, 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(Object bean, String name, 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(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(ChangeListener<? super ObservableList<E>> listener)
addListener
in interface ObservableValue<ObservableList<E>>
addListener
in class ListPropertyBase<E>
public void addListener(InvalidationListener listener)
addListener
in interface Observable
addListener
in class ListPropertyBase<E>
public void addListener(ListChangeListener<? super E> listener)
addListener
in interface ObservableList<E>
addListener
in class ListPropertyBase<E>
protected void fireValueChangedEvent()
fireValueChangedEvent
in class ListPropertyBase<E>
protected void fireValueChangedEvent(ListChangeListener.Change<? extends E> change)
fireValueChangedEvent
in class ListPropertyBase<E>
public int hashCode()
hashCode
in interface Collection<E>
hashCode
in interface List<E>
hashCode
in class ReadOnlyListProperty<E>
public void removeListener(ChangeListener<? super ObservableList<E>> listener)
removeListener
in interface ObservableValue<ObservableList<E>>
removeListener
in class ListPropertyBase<E>
public void removeListener(InvalidationListener listener)
removeListener
in interface Observable
removeListener
in class ListPropertyBase<E>
public void removeListener(ListChangeListener<? super E> listener)
removeListener
in interface ObservableList<E>
removeListener
in class ListPropertyBase<E>
Copyright (c) 2014 itemis AG and others. All rights reserved.