- All Implemented Interfaces:
NumberExpression
,Observable
,Property<Number>
,ReadOnlyProperty<Number>
,ObservableFloatValue
,ObservableNumberValue
,ObservableValue<Number>
,WritableFloatValue
,WritableNumberValue
,WritableValue<Number>
,StyleableProperty<Number>
public class SimpleStyleableFloatProperty extends StyleableFloatProperty
This class extends
SimpleFloatProperty
and provides a full
implementation of a StyleableProperty
.
This class is used to make a FloatProperty
,
that would otherwise be implemented as a SimpleFloatProperty
,
styleable by CSS.- Since:
- JavaFX 8.0
- See Also:
SimpleFloatProperty
,CssMetaData
,StyleableProperty
,StyleableFloatProperty
-
Constructor Summary
Constructors Constructor Description SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
The constructor of theSimpleStyleableFloatProperty
.SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Float initialValue)
The constructor of theSimpleStyleableFloatProperty
.SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
The constructor of theSimpleStyleableFloatProperty
.SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Float initialValue)
The constructor of theSimpleStyleableFloatProperty
. -
Method Summary
Methods declared in class javafx.beans.property.FloatPropertyBase
fireValueChangedEvent, invalidated, toString
Methods declared in class javafx.beans.property.FloatProperty
asObject, floatProperty
Methods declared in class javafx.beans.property.ReadOnlyFloatProperty
readOnlyFloatProperty
Methods declared in class javafx.beans.binding.FloatExpression
add, add, add, add, divide, divide, divide, divide, floatExpression, floatExpression, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract
Methods declared in class javafx.beans.binding.NumberExpressionBase
numberExpression
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods declared in interface javafx.beans.binding.NumberExpression
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, subtract
Methods declared in interface javafx.beans.Observable
addListener, removeListener
Methods declared in interface javafx.beans.value.ObservableFloatValue
get
Methods declared in interface javafx.beans.value.ObservableNumberValue
doubleValue, floatValue, intValue, longValue
Methods declared in interface javafx.beans.value.ObservableValue
addListener, getValue, removeListener
Methods declared in interface javafx.beans.property.Property
bind, bindBidirectional, isBound, unbind, unbindBidirectional
Methods declared in interface javafx.beans.property.ReadOnlyProperty
getBean, getName
Methods declared in interface javafx.css.StyleableProperty
applyStyle, getCssMetaData, getStyleOrigin
Methods declared in interface javafx.beans.value.WritableFloatValue
get, set, setValue
Methods declared in interface javafx.beans.value.WritableValue
getValue
-
Constructor Details
-
SimpleStyleableFloatProperty
The constructor of theSimpleStyleableFloatProperty
.- Parameters:
cssMetaData
- the CssMetaData associated with thisStyleableProperty
-
SimpleStyleableFloatProperty
public SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Float initialValue)The constructor of theSimpleStyleableFloatProperty
.- Parameters:
cssMetaData
- the CssMetaData associated with thisStyleableProperty
initialValue
- the initial value of the wrappedObject
-
SimpleStyleableFloatProperty
public SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)The constructor of theSimpleStyleableFloatProperty
.- Parameters:
cssMetaData
- the CssMetaData associated with thisStyleableProperty
bean
- the bean of thisFloatProperty
name
- the name of thisFloatProperty
-
SimpleStyleableFloatProperty
public SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Float initialValue)The constructor of theSimpleStyleableFloatProperty
.- Parameters:
cssMetaData
- the CssMetaData associated with thisStyleableProperty
bean
- the bean of thisFloatProperty
name
- the name of thisFloatProperty
initialValue
- the initial value of the wrappedObject
-