org.askalon.graph.chart
Enum ChartType

java.lang.Object
  extended by java.lang.Enum<ChartType>
      extended by org.askalon.graph.chart.ChartType
All Implemented Interfaces:
Serializable, Comparable<ChartType>

public enum ChartType
extends Enum<ChartType>

This is an enumeration of all available chart types.

Author:
Georg Schild and Franz Endstrasser

Enum Constant Summary
HIERARCHY
          The hierarchy chart
LINE_BAR
          The line-bar chart
LINEAR
          The linear chart
MULTIPLE_SURFACE
          The multiple surface chart
PIE
          The pie chart
RIBBON
          The ribbon chart
SURFACE
          The surface chart
XML_EVENT
          The XML event chart
XY
          The XY chart
 
Method Summary
 String toString()
          Gets the name of this chart
static ChartType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ChartType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LINEAR

public static final ChartType LINEAR
The linear chart

See Also:
LinearChart

LINE_BAR

public static final ChartType LINE_BAR
The line-bar chart

See Also:
LineBarChart

RIBBON

public static final ChartType RIBBON
The ribbon chart

See Also:
RibbonChart

HIERARCHY

public static final ChartType HIERARCHY
The hierarchy chart

See Also:
HierarchyChart

SURFACE

public static final ChartType SURFACE
The surface chart

See Also:
SurfaceChart

MULTIPLE_SURFACE

public static final ChartType MULTIPLE_SURFACE
The multiple surface chart

See Also:
MultipleSurfaceChart

XY

public static final ChartType XY
The XY chart

See Also:
XYChart

XML_EVENT

public static final ChartType XML_EVENT
The XML event chart

See Also:
XMLEventChart

PIE

public static final ChartType PIE
The pie chart

See Also:
PieChart
Method Detail

values

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

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

valueOf

public static ChartType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name

toString

public String toString()
Gets the name of this chart

Overrides:
toString in class Enum<ChartType>
Returns:
the name of this chart


Part of:
Askalon_Logo
ASKALON Visualisation Diagrams