E
- The element type of the wrapped ObservableList
.public class ReadOnlyListWrapperEx<E>
extends javafx.beans.property.ReadOnlyListWrapper<E>
ReadOnlyListWrapper
to fix the following JavaFX
issues:
Constructor and Description |
---|
ReadOnlyListWrapperEx()
Creates a new unnamed
ReadOnlyListWrapperEx . |
ReadOnlyListWrapperEx(java.lang.Object bean,
java.lang.String name)
Creates a new named
ReadOnlyListWrapperEx related to the given
bean. |
ReadOnlyListWrapperEx(java.lang.Object bean,
java.lang.String name,
javafx.collections.ObservableList<E> initialValue)
Creates a new named
ReadOnlyListWrapperEx , related to the given
bean and provided with the initial value. |
ReadOnlyListWrapperEx(javafx.collections.ObservableList<E> initialValue)
Creates a new unnamed
ReadOnlyListWrapperEx 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) |
protected void |
fireValueChangedEvent() |
protected void |
fireValueChangedEvent(javafx.collections.ListChangeListener.Change<? extends E> change) |
javafx.beans.property.ReadOnlyListProperty<E> |
getReadOnlyProperty() |
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) |
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
addAll, filtered, remove, removeAll, retainAll, setAll, setAll, sorted, sorted
public ReadOnlyListWrapperEx()
ReadOnlyListWrapperEx
.public ReadOnlyListWrapperEx(java.lang.Object bean, java.lang.String name)
ReadOnlyListWrapperEx
related to the given
bean.bean
- The bean to relate the to be created
ReadOnlyListWrapperEx
to.name
- The name for the to be created ReadOnlyListWrapperEx
.public ReadOnlyListWrapperEx(java.lang.Object bean, java.lang.String name, javafx.collections.ObservableList<E> initialValue)
ReadOnlyListWrapperEx
, related to the given
bean and provided with the initial value.bean
- The bean to relate the to be created
ReadOnlyListWrapperEx
to.name
- The name for the to be created ReadOnlyListWrapperEx
.initialValue
- The initial value of the to be created
ReadOnlyListWrapperEx
.public ReadOnlyListWrapperEx(javafx.collections.ObservableList<E> initialValue)
ReadOnlyListWrapperEx
with the given
initial value.initialValue
- The initial value of the to be created
ReadOnlyListWrapperEx
.public 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)
protected void fireValueChangedEvent()
fireValueChangedEvent
in class javafx.beans.property.ReadOnlyListWrapper<E>
protected void fireValueChangedEvent(javafx.collections.ListChangeListener.Change<? extends E> change)
fireValueChangedEvent
in class javafx.beans.property.ReadOnlyListWrapper<E>
public javafx.beans.property.ReadOnlyListProperty<E> getReadOnlyProperty()
getReadOnlyProperty
in class javafx.beans.property.ReadOnlyListWrapper<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>
Copyright (c) 2014 itemis AG and others. All rights reserved.