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 theList
elements
- 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
-
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, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
Methods inherited from interface javafx.beans.Observable
addListener, removeListener
Methods inherited from interface javafx.collections.ObservableList
addListener, filtered, removeListener, sorted
Methods inherited from interface javafx.beans.value.ObservableObjectValue
get
Methods inherited from interface javafx.beans.value.ObservableValue
addListener, getValue, removeListener
Methods 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:
equals
in interfaceCollection<E>
- Specified by:
equals
in interfaceList<E>
- Overrides:
equals
in classObject
- Parameters:
object
- theObject
to which the binding should be removed- Throws:
NullPointerException
- ifobject
isnull
IllegalArgumentException
- ifobject
is the same list that thisReadOnlyListProperty
points to
-
hashCode
public int hashCode() -
toString
Returns a string representation of thisReadOnlyListProperty
object.
-