Package org.eclipse.birt.chart.factory
Class RunTimeContext.StateKey<T>
- java.lang.Object
-
- org.eclipse.birt.chart.factory.RunTimeContext.StateKey<T>
-
- Enclosing class:
- RunTimeContext
public static class RunTimeContext.StateKey<T> extends java.lang.Object
Predifined static keys for states.
-
-
Field Summary
Fields Modifier and Type Field Description static RunTimeContext.StateKey<IChartComputation>
CHART_COMPUTATION_KEY
Key to reference Chart Computation.static RunTimeContext.StateKey<java.lang.Boolean>
DATA_EMPTY_KEY
Key to reference if the data of chart is empty.static RunTimeContext.StateKey<java.util.Map<Label,LabelLimiter>>
LABEL_LIMITER_LOOKUP_KEY
Key to reference LabelLimiter lookup table.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> RunTimeContext.StateKey<T>
create(boolean needClear)
boolean
needClear()
Check if the state should be clear itself after chart rendering.
-
-
-
Field Detail
-
DATA_EMPTY_KEY
public static final RunTimeContext.StateKey<java.lang.Boolean> DATA_EMPTY_KEY
Key to reference if the data of chart is empty.
-
LABEL_LIMITER_LOOKUP_KEY
public static final RunTimeContext.StateKey<java.util.Map<Label,LabelLimiter>> LABEL_LIMITER_LOOKUP_KEY
Key to reference LabelLimiter lookup table.
-
CHART_COMPUTATION_KEY
public static final RunTimeContext.StateKey<IChartComputation> CHART_COMPUTATION_KEY
Key to reference Chart Computation.
-
-
Method Detail
-
needClear
public boolean needClear()
Check if the state should be clear itself after chart rendering.- Returns:
-
create
public static <T> RunTimeContext.StateKey<T> create(boolean needClear)
-
-