java.lang.Object
org.openpdf.css.parser.PropertyValue
- All Implemented Interfaces:
CSSPrimitiveValue,CSSValue
-
Nested Class Summary
Nested Classes -
Field Summary
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_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, float floatValue, String cssText, @Nullable Token operatorToken) PropertyValue(short type, String stringValue, String cssText) PropertyValue(short type, String stringValue, String cssText, String @Nullable [] stringArrayValue, @Nullable Token operatorToken) PropertyValue(short type, String stringValue, String cssText, @Nullable Token operatorToken) PropertyValue(List<?> values) PropertyValue(IdentValue ident) PropertyValue(FSColor color) PropertyValue(FSColor color, @Nullable Token operatorToken) PropertyValue(FSFunction function) PropertyValue(FSFunction function, @Nullable Token operatorToken) -
Method Summary
Modifier and TypeMethodDescriptionshortfloatfloatgetFloatValue(short unitType) @Nullable FSColor@Nullable FSFunction@Nullable IdentValue@Nullable TokenshortString[]@Nullable String<T> List<T> voidsetCssText(String cssText) voidsetFloatValue(short unitType, float floatValue) voidsetIdentValue(IdentValue identValue) voidsetStringValue(short stringType, String stringValue) toString()
-
Constructor Details
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
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
-
getOperator
-
getStringArrayValue
-
toString
-
getValues
-
getFunction
-
getFingerprint
-