public class SimpleStyleableDoubleProperty extends StyleableDoubleProperty
SimpleDoubleProperty and provides a full
implementation of a StyleableProperty.
This class is used to make a DoubleProperty,
that would otherwise be implemented as a SimpleDoubleProperty,
style‑able by CSS.SimpleDoubleProperty,
CssMetaData,
StyleableProperty,
StyleableDoubleProperty| Constructor and Description |
|---|
SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
The constructor of the
SimpleStyleableDoubleProperty. |
SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData,
Double initialValue)
The constructor of the
SimpleStyleableDoubleProperty. |
SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData,
Object bean,
String name)
The constructor of the
SimpleStyleableDoubleProperty. |
SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData,
Object bean,
String name,
Double initialValue)
The constructor of the
SimpleStyleableDoubleProperty. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getBean()
Returns the
Object that contains this property. |
CssMetaData<? extends Styleable,Number> |
getCssMetaData()
Reflect back the CssMetaData that corresponds to this
javafx.beans.property.StyleableProperty |
String |
getName()
Returns the name of this property.
|
applyStyle, bind, getStyleOrigin, setaddListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbindasObject, bindBidirectional, doubleProperty, setValue, unbindBidirectionalreadOnlyDoublePropertyadd, 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, subtractasString, 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, numberExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValue, setValuegetValuepublic SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
SimpleStyleableDoubleProperty.cssMetaData - the CssMetaData associated with this StyleablePropertypublic SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Double initialValue)
SimpleStyleableDoubleProperty.cssMetaData - the CssMetaData associated with this StyleablePropertyinitialValue - the initial value of the wrapped Objectpublic SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
SimpleStyleableDoubleProperty.cssMetaData - the CssMetaData associated with this StyleablePropertybean - the bean of this DoublePropertyname - the name of this DoublePropertypublic SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Double initialValue)
SimpleStyleableDoubleProperty.cssMetaData - the CssMetaData associated with this StyleablePropertybean - the bean of this DoublePropertyname - the name of this DoublePropertyinitialValue - the initial value of the wrapped Objectpublic Object getBean()
Object that contains this property. If this property
is not contained in an Object, null is returned.Object or nullpublic String getName()
String.Stringpublic final CssMetaData<? extends Styleable,Number> getCssMetaData()
javafx.beans.property.StyleablePropertySubmit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.