lt.monarch.chart.chart2D.series
Enum LineStrategies

java.lang.Object
  extended by java.lang.Enum<LineStrategies>
      extended by lt.monarch.chart.chart2D.series.LineStrategies
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LineStrategies>

public enum LineStrategies
extends java.lang.Enum<LineStrategies>

Line strategies enumeration


Enum Constant Summary
Enum Constant and Description
DIRECT_LINE_STRATEGY
          Direct line strategy
NULL_SPLINE_STRATEGY
          Spline line strategy
PERCENTAGE_AREA_LINE_STRATEGY
          Percentage area line strategy
SALES_METRIC_BAR_STRATEGY
          Sales matric bar strategy
SCATTER_STRATEGY
          Scatter strategy
SPLINE_STRATEGY
          Spline line strategy
STEPPED_LINE_STRATEGY
          Stepped line strategy
 
Method Summary
Modifier and Type Method and Description
 AbstractLineStrategy<Projector2D> getStrategy()
          Gets the strategy
static LineStrategies valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LineStrategies[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SCATTER_STRATEGY

public static final LineStrategies SCATTER_STRATEGY
Scatter strategy


DIRECT_LINE_STRATEGY

public static final LineStrategies DIRECT_LINE_STRATEGY
Direct line strategy


STEPPED_LINE_STRATEGY

public static final LineStrategies STEPPED_LINE_STRATEGY
Stepped line strategy


SPLINE_STRATEGY

public static final LineStrategies SPLINE_STRATEGY
Spline line strategy


NULL_SPLINE_STRATEGY

public static final LineStrategies NULL_SPLINE_STRATEGY
Spline line strategy


PERCENTAGE_AREA_LINE_STRATEGY

public static final LineStrategies PERCENTAGE_AREA_LINE_STRATEGY
Percentage area line strategy


SALES_METRIC_BAR_STRATEGY

public static final LineStrategies SALES_METRIC_BAR_STRATEGY
Sales matric bar strategy

Method Detail

values

public static LineStrategies[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LineStrategies c : LineStrategies.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LineStrategies valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getStrategy

public AbstractLineStrategy<Projector2D> getStrategy()
Gets the strategy

Returns:
scatter strategy