Class RGBColorImpl
java.lang.Object
org.eclipse.e4.ui.css.core.impl.dom.AbstractCSSNode
org.eclipse.e4.ui.css.core.impl.dom.CSSValueImpl
org.eclipse.e4.ui.css.core.impl.dom.RGBColorImpl
- All Implemented Interfaces:
CSSPrimitiveValue
,CSSValue
,RGBColor
-
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
-
Method Summary
Methods inherited from class org.eclipse.e4.ui.css.core.impl.dom.CSSValueImpl
getCounterValue, getCssValueType, getFloatValue, getRectValue, getStringValue, setCssText, setFloatValue, setStringValue
Methods inherited from class org.eclipse.e4.ui.css.core.impl.dom.AbstractCSSNode
getCSSParser
-
Constructor Details
-
RGBColorImpl
public RGBColorImpl(org.w3c.css.sac.LexicalUnit lexicalUnit)
-
-
Method Details
-
getRed
-
getGreen
-
getBlue
-
getRGBColorValue
- Specified by:
getRGBColorValue
in interfaceCSSPrimitiveValue
- Overrides:
getRGBColorValue
in classCSSValueImpl
- Throws:
DOMException
-
getPrimitiveType
public short getPrimitiveType()- Specified by:
getPrimitiveType
in interfaceCSSPrimitiveValue
- Overrides:
getPrimitiveType
in classCSSValueImpl
-
getCssText
- Specified by:
getCssText
in interfaceCSSValue
- Overrides:
getCssText
in classCSSValueImpl
-