|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.steadystate.css.dom.CSSValueImpl
fi.hut.tml.xsmiles.mlfc.css.XSmilesCSSValueImpl
The CSSValueImpl class can represent either a
CSSPrimitiveValue or a CSSValueList so that
the type can successfully change when using setCssText.
TO DO:
Float unit conversions,
A means of checking valid primitive types for properties
| Field Summary | |
protected int |
fontSize
|
| Fields inherited from class com.steadystate.css.dom.CSSValueImpl |
_value |
| Fields inherited from interface org.w3c.dom.css.CSSPrimitiveValue |
CSS_ATTR, CSS_CM, CSS_COUNTER, CSS_DEG, CSS_DIMENSION, CSS_EMS, CSS_EXS, CSS_GRAD, CSS_HZ, CSS_IDENT, CSS_IN, CSS_KHZ, CSS_MM, CSS_MS, CSS_NUMBER, CSS_PC, CSS_PERCENTAGE, CSS_PT, CSS_PX, CSS_RAD, CSS_RECT, CSS_RGBCOLOR, CSS_S, CSS_STRING, CSS_UNKNOWN, CSS_URI |
| Fields inherited from interface org.w3c.dom.css.CSSValue |
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST |
| Constructor Summary | |
XSmilesCSSValueImpl(org.w3c.css.sac.LexicalUnit value)
|
|
XSmilesCSSValueImpl(org.w3c.css.sac.LexicalUnit value,
boolean forcePrimitive)
Constructor |
|
| Method Summary | |
protected float |
conversionFactor(short unitType)
|
protected com.steadystate.css.dom.CSSValueImpl |
createValueImpl(org.w3c.css.sac.LexicalUnit l,
boolean forcePrimitive)
|
float |
getFloatValue(short unitType)
|
org.w3c.css.sac.LexicalUnit |
getLexicalUnit()
returns the lexical unit value object, if accessible |
void |
setFontSize(int fs)
|
| Methods inherited from class com.steadystate.css.dom.CSSValueImpl |
getCounterValue, getCssText, getCssValueType, getLength, getPrimitiveType, getRectValue, getRGBColorValue, getStringValue, item, setCssText, setFloatValue, setStringValue, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.css.CSSPrimitiveValue |
getCounterValue, getPrimitiveType, getRectValue, getRGBColorValue, getStringValue, setFloatValue, setStringValue |
| Methods inherited from interface org.w3c.dom.css.CSSValue |
getCssText, getCssValueType, setCssText |
| Methods inherited from interface org.w3c.dom.css.CSSValueList |
getLength, item |
| Field Detail |
protected int fontSize
| Constructor Detail |
public XSmilesCSSValueImpl(org.w3c.css.sac.LexicalUnit value,
boolean forcePrimitive)
public XSmilesCSSValueImpl(org.w3c.css.sac.LexicalUnit value)
| Method Detail |
protected com.steadystate.css.dom.CSSValueImpl createValueImpl(org.w3c.css.sac.LexicalUnit l,
boolean forcePrimitive)
public org.w3c.css.sac.LexicalUnit getLexicalUnit()
public float getFloatValue(short unitType)
throws org.w3c.dom.DOMException
getFloatValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionpublic void setFontSize(int fs)
protected float conversionFactor(short unitType)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||