protected static class CSSLexicalUnit.IntegerLexicalUnit extends CSSLexicalUnit
CSSLexicalUnit.DimensionLexicalUnit, CSSLexicalUnit.FloatLexicalUnit, CSSLexicalUnit.FunctionLexicalUnit, CSSLexicalUnit.IntegerLexicalUnit, CSSLexicalUnit.PredefinedFunctionLexicalUnit, CSSLexicalUnit.SimpleLexicalUnit, CSSLexicalUnit.StringLexicalUnit| Modifier and Type | Field and Description |
|---|---|
protected int |
value
The integer value.
|
lexicalUnitType, nextLexicalUnit, previousLexicalUnit, TEXT_COUNTER_FUNCTION, TEXT_COUNTERS_FUNCTION, TEXT_RECT_FUNCTION, TEXT_RGBCOLOR, UNIT_TEXT_CENTIMETER, UNIT_TEXT_DEGREE, UNIT_TEXT_EM, UNIT_TEXT_EX, UNIT_TEXT_GRADIAN, UNIT_TEXT_HERTZ, UNIT_TEXT_INCH, UNIT_TEXT_KILOHERTZ, UNIT_TEXT_MILLIMETER, UNIT_TEXT_MILLISECOND, UNIT_TEXT_PERCENTAGE, UNIT_TEXT_PICA, UNIT_TEXT_PIXEL, UNIT_TEXT_POINT, UNIT_TEXT_RADIAN, UNIT_TEXT_REAL, UNIT_TEXT_SECOND| Constructor and Description |
|---|
CSSLexicalUnit.IntegerLexicalUnit(int val,
LexicalUnit prev)
Creates a new LexicalUnit.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIntegerValue()
SAC: Implements
LexicalUnit#getIntegerValue(). |
createDimension, createFloat, createFunction, createInteger, createPredefinedFunction, createSimple, createString, getDimensionUnitText, getFloatValue, getFunctionName, getLexicalUnitType, getNextLexicalUnit, getParameters, getPreviousLexicalUnit, getStringValue, getSubValues, setNextLexicalUnit, setPreviousLexicalUnitpublic CSSLexicalUnit.IntegerLexicalUnit(int val,
LexicalUnit prev)
public int getIntegerValue()
LexicalUnit#getIntegerValue().getIntegerValue in class CSSLexicalUnitCopyright ? 2009 Apache Software Foundation. All Rights Reserved.