org.eclipse.birt.chart.factory
Class RunTimeContext.StateKey<T>

java.lang.Object
  extended by 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
static RunTimeContext.StateKey<org.eclipse.birt.chart.computation.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,org.eclipse.birt.chart.computation.LabelLimiter>> LABEL_LIMITER_LOOKUP_KEY
          Key to reference LabelLimiter lookup table.
 
Method Summary
static
<T> RunTimeContext.StateKey<T>
create(boolean needClear)
           
 boolean needClear()
          Check if the state should be clear itself after chart rendering.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,org.eclipse.birt.chart.computation.LabelLimiter>> LABEL_LIMITER_LOOKUP_KEY
Key to reference LabelLimiter lookup table.


CHART_COMPUTATION_KEY

public static final RunTimeContext.StateKey<org.eclipse.birt.chart.computation.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)


Copyright © 2005-2008 Actuate Corp. All rights reserved.