- java.lang.Object
-
- javafx.beans.binding.BooleanExpression
-
- javafx.beans.property.ReadOnlyBooleanProperty
-
- javafx.beans.property.BooleanProperty
-
- javafx.beans.property.BooleanPropertyBase
-
- javafx.beans.property.SimpleBooleanProperty
-
- All Implemented Interfaces:
-
Observable
,Property<Boolean>
,ReadOnlyProperty<Boolean>
,ObservableBooleanValue
,ObservableValue<Boolean>
,WritableBooleanValue
,WritableValue<Boolean>
- 已知直接子类:
-
ReadOnlyBooleanWrapper
public class SimpleBooleanProperty extends BooleanPropertyBase
- 从以下版本开始:
- JavaFX 2.0
- 另请参见:
-
BooleanPropertyBase
-
-
构造方法摘要
构造方法 Constructor 描述 SimpleBooleanProperty()
构造函数为BooleanProperty
SimpleBooleanProperty(boolean initialValue)
构造函数为BooleanProperty
SimpleBooleanProperty(Object bean, String name)
构造函数为BooleanProperty
SimpleBooleanProperty(Object bean, String name, boolean initialValue)
构造函数为BooleanProperty
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 Object
getBean()
返回包含此属性的Object
。String
getName()
返回此属性的名称。-
Methods inherited from class javafx.beans.binding.BooleanExpression
and, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, or
-
Methods inherited from class javafx.beans.property.BooleanProperty
asObject, bindBidirectional, booleanProperty, setValue, unbindBidirectional
-
Methods inherited from class javafx.beans.property.BooleanPropertyBase
addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, set, toString, unbind
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javafx.beans.value.ObservableValue
getValue
-
Methods inherited from class javafx.beans.property.ReadOnlyBooleanProperty
readOnlyBooleanProperty
-
Methods inherited from interface javafx.beans.value.WritableValue
getValue
-
-
-
-
构造方法详细信息
-
SimpleBooleanProperty
public SimpleBooleanProperty()
构造函数为BooleanProperty
-
SimpleBooleanProperty
public SimpleBooleanProperty(boolean initialValue)
构造函数为BooleanProperty
- 参数
-
initialValue
- 包装值的初始值
-
SimpleBooleanProperty
public SimpleBooleanProperty(Object bean, String name)
构造函数为BooleanProperty
- 参数
-
bean
- 这个BooleanProperty
的豆 -
name
- 这个名字BooleanProperty
-
-