org.apache.batik.css.dom
Class CSSOMValue.ListComponent

java.lang.Object
  extended by org.apache.batik.css.dom.CSSOMValue.AbstractComponent
      extended by org.apache.batik.css.dom.CSSOMValue.ListComponent
All Implemented Interfaces:
CSSPrimitiveValue, CSSValue
Enclosing class:
CSSOMValue

protected class CSSOMValue.ListComponent
extends CSSOMValue.AbstractComponent

To represents a List component.


Field Summary
protected  int index
          The index of this component.
 
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
CSSOMValue.ListComponent(int idx)
          Creates a new ListComponent.
 
Method Summary
protected  Value getValue()
          The returns the actual value of this component.
 void setCssText(String cssText)
          DOM: Implements CSSValue.setCssText(String).
 void setFloatValue(short unitType, float floatValue)
          DOM: Implements CSSPrimitiveValue.setFloatValue(short,float).
 void setStringValue(short stringType, String stringValue)
          DOM: Implements CSSPrimitiveValue.setStringValue(short,String).
 
Methods inherited from class org.apache.batik.css.dom.CSSOMValue.AbstractComponent
getCounterValue, getCssText, getCssValueType, getFloatValue, getLength, getPrimitiveType, getRectValue, getRGBColorValue, getStringValue, item
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

protected int index
The index of this component.

Constructor Detail

CSSOMValue.ListComponent

public CSSOMValue.ListComponent(int idx)
Creates a new ListComponent.

Method Detail

getValue

protected Value getValue()
The returns the actual value of this component.

Specified by:
getValue in class CSSOMValue.AbstractComponent

setCssText

public void setCssText(String cssText)
                throws DOMException
DOM: Implements CSSValue.setCssText(String).

Throws:
DOMException

setFloatValue

public void setFloatValue(short unitType,
                          float floatValue)
                   throws DOMException
DOM: Implements CSSPrimitiveValue.setFloatValue(short,float).

Throws:
DOMException

setStringValue

public void setStringValue(short stringType,
                           String stringValue)
                    throws DOMException
DOM: Implements CSSPrimitiveValue.setStringValue(short,String).

Throws:
DOMException


Copyright © 2008 Apache Software Foundation. All Rights Reserved.