- java.lang.Object
-
- javafx.beans.binding.StringExpression
-
- javafx.beans.property.ReadOnlyStringProperty
-
- javafx.beans.property.StringProperty
-
- javafx.beans.property.StringPropertyBase
-
- javafx.beans.property.SimpleStringProperty
-
- All Implemented Interfaces:
-
Observable
,Property<String>
,ReadOnlyProperty<String>
,ObservableObjectValue<String>
,ObservableStringValue
,ObservableValue<String>
,WritableObjectValue<String>
,WritableStringValue
,WritableValue<String>
- 已知直接子类:
-
ReadOnlyStringWrapper
public class SimpleStringProperty extends StringPropertyBase
- 从以下版本开始:
- JavaFX 2.0
- 另请参见:
-
StringPropertyBase
-
-
构造方法摘要
构造方法 Constructor 描述 SimpleStringProperty()
构造函数为StringProperty
SimpleStringProperty(Object bean, String name)
构造函数为StringProperty
SimpleStringProperty(Object bean, String name, String initialValue)
构造函数为StringProperty
SimpleStringProperty(String initialValue)
构造函数为StringProperty
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 Object
getBean()
返回包含此属性的Object
。String
getName()
返回此属性的名称。-
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.binding.StringExpression
concat, getValue, getValueSafe, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, isEmpty, isEqualTo, isEqualTo, isEqualToIgnoreCase, isEqualToIgnoreCase, isNotEmpty, isNotEqualTo, isNotEqualTo, isNotEqualToIgnoreCase, isNotEqualToIgnoreCase, isNotNull, isNull, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, stringExpression
-
Methods inherited from class javafx.beans.property.StringProperty
bindBidirectional, bindBidirectional, bindBidirectional, setValue, unbindBidirectional, unbindBidirectional
-
Methods inherited from class javafx.beans.property.StringPropertyBase
addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, set, toString, unbind
-
Methods inherited from interface javafx.beans.value.WritableValue
getValue
-
-
-
-
构造方法详细信息
-
SimpleStringProperty
public SimpleStringProperty()
构造函数为StringProperty
-
SimpleStringProperty
public SimpleStringProperty(String initialValue)
构造函数为StringProperty
- 参数
-
initialValue
- 包装值的初始值
-
SimpleStringProperty
public SimpleStringProperty(Object bean, String name)
构造函数为StringProperty
- 参数
-
bean
- 这个StringProperty
的豆 -
name
- 这个名字StringProperty
-
-