| java.lang.Object org.apache.batik.css.engine.StyleDeclaration
StyleDeclaration | public class StyleDeclaration (Code) | | This class represents a collection of CSS property values.
author: Stephane Hillion version: $Id$ |
Field Summary | |
final protected static int | INITIAL_LENGTH | protected int | count The number of values in the declaration. | protected int[] | indexes The value indexes. | protected boolean[] | priorities The value priorities. | protected Value[] | values The values. |
Method Summary | |
public void | append(Value v, int idx, boolean prio) Appends a value to the declaration. | public int | getIndex(int idx) Returns the property index of a value. | public boolean | getPriority(int idx) Tells whether a value is important. | public Value | getValue(int idx) Returns the value at the given index. | public void | put(int idx, Value v, int i, boolean prio) Sets a value within the declaration. | public void | remove(int idx) Removes the value at the given index. | public int | size() Returns the number of values in the declaration. | public String | toString(CSSEngine eng) Returns a printable representation of this style rule. |
INITIAL_LENGTH | final protected static int INITIAL_LENGTH(Code) | | |
count | protected int count(Code) | | The number of values in the declaration.
|
indexes | protected int[] indexes(Code) | | The value indexes.
|
priorities | protected boolean[] priorities(Code) | | The value priorities.
|
append | public void append(Value v, int idx, boolean prio)(Code) | | Appends a value to the declaration.
|
getIndex | public int getIndex(int idx)(Code) | | Returns the property index of a value.
|
getPriority | public boolean getPriority(int idx)(Code) | | Tells whether a value is important.
|
getValue | public Value getValue(int idx)(Code) | | Returns the value at the given index.
|
put | public void put(int idx, Value v, int i, boolean prio)(Code) | | Sets a value within the declaration.
|
remove | public void remove(int idx)(Code) | | Removes the value at the given index.
|
size | public int size()(Code) | | Returns the number of values in the declaration.
|
toString | public String toString(CSSEngine eng)(Code) | | Returns a printable representation of this style rule.
|
|
|