org.askalon.graph.chart
Enum LinearGrouping

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

public enum LinearGrouping
extends Enum<LinearGrouping>

Defines grouping modes available for the linear chart.

Author:
Georg Schild and Franz Endstrasser

Enum Constant Summary
COMBINED
          combined grouping of cuboids, placing them on top of each other
HORIZONTAL
          horizontal grouping of cuboids
VERTICAL
          vertical grouping of cuboids
 
Method Summary
 String toString()
          Gets the name of this grouping mode.
static LinearGrouping valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LinearGrouping[] 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

VERTICAL

public static final LinearGrouping VERTICAL
vertical grouping of cuboids


HORIZONTAL

public static final LinearGrouping HORIZONTAL
horizontal grouping of cuboids


COMBINED

public static final LinearGrouping COMBINED
combined grouping of cuboids, placing them on top of each other

Method Detail

values

public static final LinearGrouping[] 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(LinearGrouping c : LinearGrouping.values())
        System.out.println(c);

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

valueOf

public static LinearGrouping 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 grouping mode.

Overrides:
toString in class Enum<LinearGrouping>
Returns:
the name of the grouping mode as string


Part of:
Askalon_Logo
ASKALON Visualisation Diagrams