-
- All Implemented Interfaces:
-
NumberExpression
,Observable
,Property<Number>
,ReadOnlyProperty<Number>
,ObservableLongValue
,ObservableNumberValue
,ObservableValue<Number>
,WritableLongValue
,WritableNumberValue
,WritableValue<Number>
,StyleableProperty<Number>
public class SimpleStyleableLongProperty extends StyleableLongProperty
该课程扩展了SimpleLongProperty
并提供了一个StyleableProperty
的完整实现。 这个类用于制作一个LongProperty
,否则将被实现为一个SimpleLongProperty
,由CSS风格化。- 从以下版本开始:
- JavaFX 8.0
- 另请参见:
-
SimpleLongProperty
,CssMetaData
,StyleableProperty
,StyleableLongProperty
-
-
构造方法摘要
构造方法 Constructor 描述 SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
SimpleStyleableLongProperty
的构造SimpleStyleableLongProperty
。SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Long initialValue)
SimpleStyleableLongProperty
的构造SimpleStyleableLongProperty
。SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
SimpleStyleableLongProperty
的构造SimpleStyleableLongProperty
。SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Long initialValue)
SimpleStyleableLongProperty
的构造SimpleStyleableLongProperty
。
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 Object
getBean()
返回包含此属性的Object
。CssMetaData<? extends Styleable,Number>
getCssMetaData()
反映与此javafx.beans.property.StyleableProperty
对应的javafx.beans.property.StyleableProperty
String
getName()
返回此属性的名称。-
Methods inherited from class javafx.beans.binding.LongExpression
add, add, add, add, divide, divide, divide, divide, doubleValue, floatValue, getValue, intValue, longExpression, longExpression, longValue, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract
-
Methods inherited from class javafx.beans.property.LongProperty
asObject, bindBidirectional, longProperty, setValue, unbindBidirectional
-
Methods inherited from class javafx.beans.property.LongPropertyBase
addListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbind
-
Methods inherited from class javafx.beans.binding.NumberExpressionBase
add, asString, asString, asString, divide, 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, multiply, numberExpression, subtract
-
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.ReadOnlyLongProperty
readOnlyLongProperty
-
Methods inherited from class javafx.css.StyleableLongProperty
applyStyle, bind, getStyleOrigin, set
-
Methods inherited from interface javafx.beans.value.WritableValue
getValue, setValue
-
-
-
-
构造方法详细信息
-
SimpleStyleableLongProperty
public SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
SimpleStyleableLongProperty
的构造SimpleStyleableLongProperty
。- 参数
-
cssMetaData
- 与此StyleableProperty
关联的StyleableProperty
-
SimpleStyleableLongProperty
public SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Long initialValue)
SimpleStyleableLongProperty
的构造SimpleStyleableLongProperty
。- 参数
-
cssMetaData
- 与此StyleableProperty
相关联的StyleableProperty
-
initialValue
- 包装的初始值Object
-
SimpleStyleableLongProperty
public SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
SimpleStyleableLongProperty
的构造SimpleStyleableLongProperty
。- 参数
-
cssMetaData
- 与此StyleableProperty
关联的StyleableProperty
-
bean
- 这个LongProperty
的豆 -
name
- 这个名字LongProperty
-
SimpleStyleableLongProperty
public SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Long initialValue)
SimpleStyleableLongProperty
的构造SimpleStyleableLongProperty
。- 参数
-
cssMetaData
- 与此StyleableProperty
关联的StyleableProperty
-
bean
- 这个LongProperty
的豆 -
name
- 这个名字LongProperty
-
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
-
-