
public static class CssProperty.NumberValue extends CssProperty.Value
| Constructor and Description |
|---|
NumberValue(float value) |
NumberValue(float value,
String units) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression()
Generate a Java expression whose execution results in the value.
|
String |
getUnits() |
float |
getValue() |
CssProperty.NumberValue |
isNumberValue() |
String |
toCss()
Generate a CSS expression that represents the Value.
|
isDotPathValue, isExpressionValue, isFunctionValue, isIdentValue, isListValue, isSpaceRequired, isStatic, isStringValue, toStringpublic NumberValue(float value)
public NumberValue(float value,
String units)
public String getExpression()
CssProperty.ValuegetExpression in class CssProperty.Valuepublic String getUnits()
public float getValue()
public CssProperty.NumberValue isNumberValue()
isNumberValue in class CssProperty.Valuepublic String toCss()
CssProperty.ValuetoCss in class CssProperty.ValueCopyright © 2018. All rights reserved.