org.jfree.layouting.renderer

Class CounterStore

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

Constructor Summary
CounterStore()
Method Summary
voidadd(String name, Integer counterValue)
Integerget(String name)
Integerget(String name, CSSValue pagePolicy)

Constructor Detail

CounterStore

public CounterStore()

Method Detail

add

public void add(String name, Integer counterValue)

get

public Integer get(String name)

get

public Integer get(String name, CSSValue pagePolicy)