info.informatica.doc.style.css.property
Class DOMCSSColorValue

java.lang.Object
  extended by info.informatica.doc.style.css.property.AbstractCSSValue
      extended by info.informatica.doc.style.css.property.AbstractCSSPrimitiveValue
          extended by info.informatica.doc.style.css.property.DOMCSSColorValue
All Implemented Interfaces:
StyleDatabaseAware, org.w3c.dom.css.CSSPrimitiveValue, org.w3c.dom.css.CSSValue

public class DOMCSSColorValue
extends AbstractCSSPrimitiveValue

Color-specific CSSPrimitiveValue.

Author:
Carlos Amengual (amengual at informatica.info)

Nested Class Summary
 class DOMCSSColorValue.CSSRGBColor
           
 
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
DOMCSSColorValue()
           
 
Method Summary
 String getCssText()
           
 org.w3c.dom.css.RGBColor getRGBColorValue()
           
 
Methods inherited from class info.informatica.doc.style.css.property.AbstractCSSPrimitiveValue
domPrimitiveType, getCounterValue, getFloatValue, getLexicalUnit, getPrimitiveType, getRectValue, getStringValue, getStyleDatabase, isSubproperty, nextPrimitiveValue, setCSSUnitType, setFloatValue, setStringValue, setStyleDatabase, setSubproperty
 
Methods inherited from class info.informatica.doc.style.css.property.AbstractCSSValue
createCSSValue, createCSSValue, getCssValueType, setCssText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.css.CSSValue
getCssValueType, setCssText
 

Constructor Detail

DOMCSSColorValue

public DOMCSSColorValue()
Method Detail

getCssText

public String getCssText()
Specified by:
getCssText in interface org.w3c.dom.css.CSSValue
Overrides:
getCssText in class AbstractCSSValue

getRGBColorValue

public org.w3c.dom.css.RGBColor getRGBColorValue()
                                          throws DOMException
Specified by:
getRGBColorValue in interface org.w3c.dom.css.CSSPrimitiveValue
Overrides:
getRGBColorValue in class AbstractCSSPrimitiveValue
Throws:
DOMException


Copyright © 2011 informatica.info. All Rights Reserved.