-
- All Implemented Interfaces:
-
NumberExpression
,Observable
,Property<Number>
,ReadOnlyProperty<Number>
,ObservableDoubleValue
,ObservableNumberValue
,ObservableValue<Number>
,WritableDoubleValue
,WritableNumberValue
,WritableValue<Number>
,StyleableProperty<Number>
public class SimpleStyleableDoubleProperty extends StyleableDoubleProperty
这个类扩展了SimpleDoubleProperty
并提供了一个StyleableProperty
的完整实现。 这个类用于制作一个DoubleProperty
,否则将被实现为一个SimpleDoubleProperty
,由CSS风格化。- 从以下版本开始:
- JavaFX 8.0
- 另请参见:
-
SimpleDoubleProperty
,CssMetaData
,StyleableProperty
,StyleableDoubleProperty
-
-
构造方法摘要
构造方法 Constructor 描述 SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
SimpleStyleableDoubleProperty
的构造SimpleStyleableDoubleProperty
。SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Double initialValue)
的构造函数为SimpleStyleableDoubleProperty
。SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
SimpleStyleableDoubleProperty
的构造SimpleStyleableDoubleProperty
。SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Double initialValue)
SimpleStyleableDoubleProperty
的构造SimpleStyleableDoubleProperty
。
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 Object
getBean()
返回包含此属性的Object
。CssMetaData<? extends Styleable,Number>
getCssMetaData()
反映对应于这个javafx.beans.property.StyleableProperty
String
getName()
返回此属性的名称。-
Methods inherited from class javafx.beans.binding.DoubleExpression
add, add, add, add, add, divide, divide, divide, divide, divide, doubleExpression, doubleExpression, doubleValue, floatValue, getValue, intValue, longValue, multiply, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract, subtract
-
Methods inherited from class javafx.beans.property.DoubleProperty
asObject, bindBidirectional, doubleProperty, setValue, unbindBidirectional
-
Methods inherited from class javafx.beans.property.DoublePropertyBase
addListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbind
-
Methods inherited from class javafx.beans.binding.NumberExpressionBase
asString, asString, asString, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, lessThan, lessThan, lessThan, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, numberExpression
-
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.ReadOnlyDoubleProperty
readOnlyDoubleProperty
-
Methods inherited from class javafx.css.StyleableDoubleProperty
applyStyle, bind, getStyleOrigin, set
-
Methods inherited from interface javafx.beans.value.WritableValue
getValue, setValue
-
-
-
-
构造方法详细信息
-
SimpleStyleableDoubleProperty
public SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
SimpleStyleableDoubleProperty
的构造SimpleStyleableDoubleProperty
。- 参数
-
cssMetaData
- 与此StyleableProperty
关联的StyleableProperty
-
SimpleStyleableDoubleProperty
public SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Double initialValue)
SimpleStyleableDoubleProperty
的构造SimpleStyleableDoubleProperty
。- 参数
-
cssMetaData
- 与此StyleableProperty
相关联的StyleableProperty
-
initialValue
- 包装的初始值Object
-
SimpleStyleableDoubleProperty
public SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
的构造函数为SimpleStyleableDoubleProperty
。- 参数
-
cssMetaData
- 与此StyleableProperty
相关联的StyleableProperty
-
bean
- 这个DoubleProperty
的豆 -
name
- 这个名字DoubleProperty
-
SimpleStyleableDoubleProperty
public SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Double initialValue)
SimpleStyleableDoubleProperty
的构造SimpleStyleableDoubleProperty
。- 参数
-
cssMetaData
- 与此StyleableProperty
相关联的StyleableProperty
-
bean
- 这个DoubleProperty
的豆 -
name
- 这个名字DoubleProperty
-
initialValue
- 包装的初始值Object
-
-
方法详细信息
-
getBean
public Object getBean()
返回包含此属性的Object
。 如果此属性未包含在Object
,则返回null
。- 结果
-
包含
Object
或null
-
getName
public String getName()
返回此属性的名称。 如果该属性没有名称,此方法返回一个空的String
。- 结果
-
该名称或空的
String
-
getCssMetaData
public final CssMetaData<? extends Styleable,Number> getCssMetaData()
反映了对应于这个javafx.beans.property.StyleableProperty
- 结果
- the corresponding CssMetaData
-
-