Package javafx.beans.property
Class ReadOnlyListProperty<E>
java.lang.Object
javafx.beans.binding.ListExpression<E>
javafx.beans.property.ReadOnlyListProperty<E>
- Type Parameters:
E- the type of theListelements
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>,Observable,ReadOnlyProperty<ObservableList<E>>,ObservableListValue<E>,ObservableObjectValue<ObservableList<E>>,ObservableValue<ObservableList<E>>,ObservableList<E>
- Direct Known Subclasses:
ListProperty
public abstract class ReadOnlyListProperty<E>
extends ListExpression<E>
implements ReadOnlyProperty<ObservableList<E>>
Super class for all readonly properties wrapping an
ObservableList.- Since:
- JavaFX 2.1
- See Also:
-
Property Summary
Properties inherited from class javafx.beans.binding.ListExpression
empty, size -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javafx.beans.binding.ListExpression
add, add, addAll, addAll, addAll, clear, contains, containsAll, emptyProperty, get, getSize, getValue, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, remove, removeAll, removeAll, retainAll, retainAll, set, setAll, setAll, size, sizeProperty, subList, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, streamMethods inherited from interface java.util.List
replaceAll, sort, spliteratorMethods inherited from interface javafx.beans.Observable
addListener, removeListenerMethods inherited from interface javafx.collections.ObservableList
addListener, filtered, removeListener, sortedMethods inherited from interface javafx.beans.value.ObservableObjectValue
getMethods inherited from interface javafx.beans.value.ObservableValue
addListener, getValue, removeListenerMethods inherited from interface javafx.beans.property.ReadOnlyProperty
getBean, getName
-
Constructor Details
-
ReadOnlyListProperty
public ReadOnlyListProperty()The constructor ofReadOnlyListProperty.
-
-
Method Details
-
equals
Deletes a content binding between theObservableList, that is wrapped in thisReadOnlyListProperty, and anotherObject.- Specified by:
equalsin interfaceCollection<E>- Specified by:
equalsin interfaceList<E>- Overrides:
equalsin classObject- Parameters:
object- theObjectto which the binding should be removed- Throws:
NullPointerException- ifobjectisnullIllegalArgumentException- ifobjectis the same list that thisReadOnlyListPropertypoints to
-
hashCode
public int hashCode() -
toString
Returns a string representation of thisReadOnlyListPropertyobject.
-