java.lang.Object
org.xhtmlrenderer.css.parser.PropertyValue
- All Implemented Interfaces:
CSSPrimitiveValue,CSSValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortFields 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_URIFields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST -
Constructor Summary
ConstructorsConstructorDescriptionPropertyValue(short type, float floatValue, String cssText) PropertyValue(short type, String stringValue, String cssText) PropertyValue(List<?> values) PropertyValue(IdentValue ident) PropertyValue(FSColor color) PropertyValue(FSFunction function) -
Method Summary
Modifier and TypeMethodDescriptionshortfloatfloatgetFloatValue(short unitType) shortshortString[]<T> List<T>voidsetCssText(String cssText) voidsetFloatValue(short unitType, float floatValue) voidsetIdentValue(IdentValue identValue) voidsetOperator(Token operator) voidsetStringArrayValue(String[] stringArrayValue) voidsetStringValue(short stringType, String stringValue) toString()
-
Field Details
-
VALUE_TYPE_NUMBER
public static final short VALUE_TYPE_NUMBER- See Also:
-
VALUE_TYPE_LENGTH
public static final short VALUE_TYPE_LENGTH- See Also:
-
VALUE_TYPE_COLOR
public static final short VALUE_TYPE_COLOR- See Also:
-
VALUE_TYPE_IDENT
public static final short VALUE_TYPE_IDENT- See Also:
-
VALUE_TYPE_STRING
public static final short VALUE_TYPE_STRING- See Also:
-
VALUE_TYPE_LIST
public static final short VALUE_TYPE_LIST- See Also:
-
VALUE_TYPE_FUNCTION
public static final short VALUE_TYPE_FUNCTION- See Also:
-
-
Constructor Details
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
-
Method Details
-
getCounterValue
- Specified by:
getCounterValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
getFloatValue
- Specified by:
getFloatValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
getFloatValue
public float getFloatValue() -
getPrimitiveType
public short getPrimitiveType()- Specified by:
getPrimitiveTypein interfaceCSSPrimitiveValue
-
getRGBColorValue
- Specified by:
getRGBColorValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
getRectValue
- Specified by:
getRectValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
getStringValue
- Specified by:
getStringValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
setFloatValue
- Specified by:
setFloatValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
setStringValue
- Specified by:
setStringValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
getCssText
- Specified by:
getCssTextin interfaceCSSValue
-
getCssValueType
public short getCssValueType()- Specified by:
getCssValueTypein interfaceCSSValue
-
setCssText
- Specified by:
setCssTextin interfaceCSSValue- Throws:
DOMException
-
getFSColor
-
getIdentValue
-
setIdentValue
-
getPropertyValueType
public short getPropertyValueType() -
getOperator
-
setOperator
-
getStringArrayValue
-
setStringArrayValue
-
toString
-
getValues
-
getFunction
-
getFingerprint
-