org.jfree.layouting.renderer
Class CounterStore
java.lang.Object
org.jfree.layouting.renderer.AbstractStore
org.jfree.layouting.renderer.CounterStore
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class CounterStore
- extends AbstractStore
For the first throw, the content remains very simple. We support the 4 modes:
start - the initial content is used. first - the first value set in this page
is used (else the initial content) last - the last value is used. last-except
- the last value is used on the next page. (Contrary to the specification, we
fall back to the start-value instead of using an empty value).
The string store is used for all counter, counters and string properties.
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Method Summary |
void |
add(java.lang.String name,
java.lang.Integer counterValue)
|
java.lang.Integer |
get(java.lang.String name)
|
java.lang.Integer |
get(java.lang.String name,
CSSValue pagePolicy)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CounterStore
public CounterStore()
add
public void add(java.lang.String name,
java.lang.Integer counterValue)
get
public java.lang.Integer get(java.lang.String name)
get
public java.lang.Integer get(java.lang.String name,
CSSValue pagePolicy)