- java.lang.Object
-
- javafx.beans.binding.ListExpression<E>
-
- javafx.beans.property.ReadOnlyListProperty<E>
-
- javafx.beans.property.ListProperty<E>
-
- javafx.beans.property.ListPropertyBase<E>
-
- javafx.beans.property.SimpleListProperty<E>
-
- 参数类型
-
E
-List
元素的类型
- All Implemented Interfaces:
-
Iterable<E>
,Collection<E>
,List<E>
,Observable
,Property<E>
,ReadOnlyProperty<E>
,ObservableListValue<E>
,ObservableObjectValue<E>
,ObservableValue<E>
,WritableListValue<E>
,WritableObjectValue<E>
,WritableValue<E>
,ObservableList<E>
- 已知直接子类:
-
ReadOnlyListWrapper
public class SimpleListProperty<E> extends ListPropertyBase<E>
这个类提供了一个包含ObservableList的ObservableList
的完整实现。- 从以下版本开始:
- JavaFX 2.1
- 另请参见:
-
ListPropertyBase
-
-
Property Summary
-
Properties inherited from class javafx.beans.property.ListPropertyBase
empty, size
-
-
构造方法摘要
构造方法 Constructor 描述 SimpleListProperty()
构造函数为SimpleListProperty
SimpleListProperty(Object bean, String name)
构造函数为SimpleListProperty
SimpleListProperty(Object bean, String name, ObservableList<E> initialValue)
构造函数为SimpleListProperty
SimpleListProperty(ObservableList<E> initialValue)
构造函数为SimpleListProperty
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 Object
getBean()
返回包含此属性的Object
。String
getName()
返回此属性的名称。-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, of, of, of, of, of, of, of, of, of, of, of, of, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Methods inherited from class javafx.beans.binding.ListExpression
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
-
Methods inherited from class javafx.beans.property.ListProperty
bindBidirectional, setValue, unbindBidirectional
-
Methods inherited from class javafx.beans.property.ListPropertyBase
addListener, addListener, addListener, bind, emptyProperty, fireValueChangedEvent, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, removeListener, set, sizeProperty, toString, unbind
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javafx.collections.ObservableList
addAll, filtered, remove, removeAll, retainAll, setAll, setAll, sorted, sorted
-
Methods inherited from interface javafx.beans.value.ObservableValue
getValue
-
Methods inherited from class javafx.beans.property.ReadOnlyListProperty
bindContent, bindContentBidirectional, equals, hashCode, unbindContent, unbindContentBidirectional
-
Methods inherited from interface javafx.beans.value.WritableValue
getValue
-
-
-
-
构造方法详细信息
-
SimpleListProperty
public SimpleListProperty()
构造函数为SimpleListProperty
-
SimpleListProperty
public SimpleListProperty(ObservableList<E> initialValue)
构造函数为SimpleListProperty
- 参数
-
initialValue
- 包装值的初始值
-
SimpleListProperty
public SimpleListProperty(Object bean, String name)
构造函数为SimpleListProperty
- 参数
-
bean
- 这个SetProperty
的豆 -
name
- 这个名字SetProperty
-
SimpleListProperty
public SimpleListProperty(Object bean, String name, ObservableList<E> initialValue)
构造函数为SimpleListProperty
- 参数
-
bean
- 这个ListProperty
的豆 -
name
- 这个名字ListProperty
-
initialValue
- 包装值的初始值
-
-