protected abstract class CSSOMValue.AbstractComponent
extends java.lang.Object
implements 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
Modifier | Constructor and Description |
---|---|
protected |
AbstractComponent() |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.css.Counter |
getCounterValue()
DOM: Implements
CSSPrimitiveValue.getCounterValue() . |
java.lang.String |
getCssText()
DOM: Implements
CSSValue.getCssText() . |
short |
getCssValueType()
DOM: Implements
CSSValue.getCssValueType() . |
float |
getFloatValue(short unitType)
DOM: Implements
CSSPrimitiveValue.getFloatValue(short) . |
int |
getLength()
DOM: Implements
CSSValueList.getLength() . |
short |
getPrimitiveType()
DOM: Implements
CSSPrimitiveValue.getPrimitiveType() . |
org.w3c.dom.css.Rect |
getRectValue()
DOM: Implements
CSSPrimitiveValue.getRectValue() . |
org.w3c.dom.css.RGBColor |
getRGBColorValue()
DOM: Implements
CSSPrimitiveValue.getRGBColorValue() . |
java.lang.String |
getStringValue()
DOM: Implements
CSSPrimitiveValue.getStringValue() . |
protected abstract Value |
getValue()
The returns the actual value of this component.
|
org.w3c.dom.css.CSSValue |
item(int index)
DOM: Implements
CSSValueList.item(int) . |
protected abstract Value getValue()
public java.lang.String getCssText()
CSSValue.getCssText()
.getCssText
in interface org.w3c.dom.css.CSSValue
public short getCssValueType()
CSSValue.getCssValueType()
.getCssValueType
in interface org.w3c.dom.css.CSSValue
public short getPrimitiveType()
CSSPrimitiveValue.getPrimitiveType()
.getPrimitiveType
in interface org.w3c.dom.css.CSSPrimitiveValue
public float getFloatValue(short unitType) throws org.w3c.dom.DOMException
CSSPrimitiveValue.getFloatValue(short)
.getFloatValue
in interface org.w3c.dom.css.CSSPrimitiveValue
org.w3c.dom.DOMException
public java.lang.String getStringValue() throws org.w3c.dom.DOMException
CSSPrimitiveValue.getStringValue()
.getStringValue
in interface org.w3c.dom.css.CSSPrimitiveValue
org.w3c.dom.DOMException
public org.w3c.dom.css.Counter getCounterValue() throws org.w3c.dom.DOMException
CSSPrimitiveValue.getCounterValue()
.getCounterValue
in interface org.w3c.dom.css.CSSPrimitiveValue
org.w3c.dom.DOMException
public org.w3c.dom.css.Rect getRectValue() throws org.w3c.dom.DOMException
CSSPrimitiveValue.getRectValue()
.getRectValue
in interface org.w3c.dom.css.CSSPrimitiveValue
org.w3c.dom.DOMException
public org.w3c.dom.css.RGBColor getRGBColorValue() throws org.w3c.dom.DOMException
CSSPrimitiveValue.getRGBColorValue()
.getRGBColorValue
in interface org.w3c.dom.css.CSSPrimitiveValue
org.w3c.dom.DOMException
public int getLength()
CSSValueList.getLength()
.public org.w3c.dom.css.CSSValue item(int index)
CSSValueList.item(int)
.Copyright ? 2009 Apache Software Foundation. All Rights Reserved.