- java.lang.Object
-
- javafx.beans.binding.SetExpression<E>
-
- javafx.beans.property.ReadOnlySetProperty<E>
-
- javafx.beans.property.SetProperty<E>
-
- javafx.beans.property.SetPropertyBase<E>
-
- javafx.beans.property.SimpleSetProperty<E>
-
- 参数类型
-
E
-Set
元素的类型
- All Implemented Interfaces:
-
Iterable<E>
,Collection<E>
,Set<E>
,Observable
,Property<E>
,ReadOnlyProperty<E>
,ObservableObjectValue<E>
,ObservableSetValue<E>
,ObservableValue<E>
,WritableObjectValue<E>
,WritableSetValue<E>
,WritableValue<E>
,ObservableSet<E>
- 已知直接子类:
-
ReadOnlySetWrapper
public class SimpleSetProperty<E> extends SetPropertyBase<E>
这个类提供了一个Property
的全面实现,包装了一个ObservableSet
。- 从以下版本开始:
- JavaFX 2.1
- 另请参见:
-
SetPropertyBase
-
-
Property Summary
-
Properties inherited from class javafx.beans.property.SetPropertyBase
empty, size
-
-
构造方法摘要
构造方法 Constructor 描述 SimpleSetProperty()
构造函数为SimpleSetProperty
SimpleSetProperty(Object bean, String name)
构造函数为SimpleSetProperty
SimpleSetProperty(Object bean, String name, ObservableSet<E> initialValue)
构造函数为SimpleSetProperty
SimpleSetProperty(ObservableSet<E> initialValue)
构造函数为SimpleSetProperty
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 Object
getBean()
返回包含此属性的Object
。String
getName()
返回此属性的名称。-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javafx.beans.value.ObservableValue
getValue
-
Methods inherited from class javafx.beans.property.ReadOnlySetProperty
bindContent, bindContentBidirectional, equals, hashCode, unbindContent, unbindContentBidirectional
-
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, of, of, of, of, of, of, of, of, of, of, of, of, remove, removeAll, retainAll, size, spliterator, toArray, toArray
-
Methods inherited from class javafx.beans.binding.SetExpression
add, addAll, asString, clear, contains, containsAll, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, remove, removeAll, retainAll, setExpression, size, toArray, toArray
-
Methods inherited from class javafx.beans.property.SetProperty
bindBidirectional, setValue, unbindBidirectional
-
Methods inherited from class javafx.beans.property.SetPropertyBase
addListener, addListener, addListener, bind, emptyProperty, fireValueChangedEvent, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, removeListener, set, sizeProperty, toString, unbind
-
Methods inherited from interface javafx.beans.value.WritableValue
getValue
-
-
-
-
构造方法详细信息
-
SimpleSetProperty
public SimpleSetProperty()
构造函数为SimpleSetProperty
-
SimpleSetProperty
public SimpleSetProperty(ObservableSet<E> initialValue)
构造函数为SimpleSetProperty
- 参数
-
initialValue
- 包装值的初始值
-
SimpleSetProperty
public SimpleSetProperty(Object bean, String name)
构造函数为SimpleSetProperty
- 参数
-
bean
- 这个SetProperty
的豆 -
name
- 这个名字SetProperty
-
SimpleSetProperty
public SimpleSetProperty(Object bean, String name, ObservableSet<E> initialValue)
构造函数为SimpleSetProperty
- 参数
-
bean
- 这个SetProperty
的豆 -
name
- 这个名字SetProperty
-
initialValue
- 包装值的初始值
-
-