|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.css.value.AbstractImmutableValue | +--org.apache.batik.css.value.ImmutableValueList
This class implements an immutable value list.
Field Summary | |
protected int |
length
The list length. |
protected char |
separator
The separator character. |
protected CSSValue[] |
table
The table that contains the values. |
Constructor Summary | |
ImmutableValueList()
Creates a new ImmutableValueList object. |
|
ImmutableValueList(char c)
Creates a new ImmutableValueList object. |
Method Summary | |
void |
append(CSSValue item)
Appends an item to the list. |
ImmutableValue |
createReadOnlyCopy()
Returns a deep read-only copy of this object. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getCssText()
A string representation of the current value. |
short |
getCssValueType()
A code defining the type of the value. |
int |
getLength()
The number of CSSValues in the list. |
CSSValue |
item(int index)
Used to retrieve a CSS rule by ordinal index. |
Methods inherited from class org.apache.batik.css.value.AbstractImmutableValue |
getCounterValue, getFloatValue, getPrimitiveType, getRectValue, getRGBColorValue, getStringValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected CSSValue[] table
protected int length
protected char separator
Constructor Detail |
public ImmutableValueList()
public ImmutableValueList(char c)
Method Detail |
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.public ImmutableValue createReadOnlyCopy()
public java.lang.String getCssText()
public short getCssValueType()
getCssValueType
in class AbstractImmutableValue
public int getLength()
CSSValues
in the list. The range of valid
values of the indices is 0
to length-1
inclusive.getLength
in class AbstractImmutableValue
public CSSValue item(int index)
item
in class AbstractImmutableValue
index
- Index into the collection.index
position in the
CSSValueList
, or null
if that is not a
valid index.public void append(CSSValue item)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |