public class SimpleStyleableIntegerProperty extends StyleableIntegerProperty
SimpleIntegerProperty
and provides a full
implementation of a StyleableProperty
.
This class is used to make a IntegerProperty
,
that would otherwise be implemented as a SimpleIntegerProperty
,
style‑able by CSS.SimpleIntegerProperty
,
CssMetaData
,
StyleableProperty
,
StyleableIntegerProperty
Constructor and Description |
---|
SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
The constructor of the
SimpleStyleableIntegerProperty . |
SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData,
Integer initialValue)
The constructor of the
SimpleStyleableIntegerProperty . |
SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData,
Object bean,
String name)
The constructor of the
SimpleStyleableIntegerProperty . |
SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData,
Object bean,
String name,
Integer initialValue)
The constructor of the
SimpleStyleableIntegerProperty . |
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, set
addListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbind
asObject, bindBidirectional, integerProperty, setValue, unbindBidirectional
readOnlyIntegerProperty
add, add, add, add, divide, divide, divide, divide, doubleValue, floatValue, getValue, integerExpression, integerExpression, intValue, longValue, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue, setValue
getValue
public SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
SimpleStyleableIntegerProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
public SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Integer initialValue)
SimpleStyleableIntegerProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
initialValue
- the initial value of the wrapped Object
public SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
SimpleStyleableIntegerProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
bean
- the bean of this IntegerProperty
name
- the name of this IntegerProperty
public SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Integer initialValue)
SimpleStyleableIntegerProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
bean
- the bean of this IntegerProperty
name
- the name of this IntegerProperty
initialValue
- the initial value of the wrapped Object
public Object getBean()
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
public String getName()
String
.String
public final CssMetaData<? extends Styleable,Number> getCssMetaData()
javafx.beans.property.StyleableProperty
Submit 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, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.