Package org.eclipse.e4.ui.css.core.css2
Class CSS2PrimitiveValueImpl
java.lang.Object
org.eclipse.e4.ui.css.core.css2.CSS2PrimitiveValueImpl
- All Implemented Interfaces:
CSSPrimitiveValue
,CSSValue
Simple
CSSPrimitiveValue
implementation.- Version:
- 1.0.0
- Author:
- Angelo ZERR
-
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_URI
Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshort
float
getFloatValue
(short word0) short
void
setCssText
(String s) void
setFloatValue
(short word0, float f) void
setStringValue
(short word0, String s) toString()
-
Constructor Details
-
CSS2PrimitiveValueImpl
-
CSS2PrimitiveValueImpl
public CSS2PrimitiveValueImpl(float v) -
CSS2PrimitiveValueImpl
public CSS2PrimitiveValueImpl(int i)
-
-
Method Details
-
getCounterValue
- Specified by:
getCounterValue
in interfaceCSSPrimitiveValue
- Throws:
DOMException
-
getFloatValue
- Specified by:
getFloatValue
in interfaceCSSPrimitiveValue
- Throws:
DOMException
-
getPrimitiveType
public short getPrimitiveType()- Specified by:
getPrimitiveType
in interfaceCSSPrimitiveValue
-
getRectValue
- Specified by:
getRectValue
in interfaceCSSPrimitiveValue
- Throws:
DOMException
-
getRGBColorValue
- Specified by:
getRGBColorValue
in interfaceCSSPrimitiveValue
- Throws:
DOMException
-
getStringValue
- Specified by:
getStringValue
in interfaceCSSPrimitiveValue
- Throws:
DOMException
-
setFloatValue
- Specified by:
setFloatValue
in interfaceCSSPrimitiveValue
- Throws:
DOMException
-
setStringValue
- Specified by:
setStringValue
in interfaceCSSPrimitiveValue
- Throws:
DOMException
-
getCssText
- Specified by:
getCssText
in interfaceCSSValue
-
getCssValueType
public short getCssValueType()- Specified by:
getCssValueType
in interfaceCSSValue
-
setCssText
- Specified by:
setCssText
in interfaceCSSValue
- Throws:
DOMException
-
toString
-