ca.sqlpower.wabit.report.chart
Enum ColumnRole

java.lang.Object
  extended by java.lang.Enum<ColumnRole>
      extended by ca.sqlpower.wabit.report.chart.ColumnRole
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ColumnRole>

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

This enum contains the values that each column can be defined as for laying out a chart.


Enum Constant Summary
CATEGORY
           
NONE
           
SERIES
           
 
Method Summary
static ColumnRole valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ColumnRole[] 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

NONE

public static final ColumnRole NONE

CATEGORY

public static final ColumnRole CATEGORY

SERIES

public static final ColumnRole SERIES
Method Detail

values

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

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

valueOf

public static ColumnRole 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


Copyright © 2009. All Rights Reserved.