lt.monarch.chart.models
Enum MetaDataType

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

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

Meta data type enumeration


Enum Constant Summary
Enum Constant and Description
BAR_WIDTH
          Sets bar width as double number
DATE_FORMAT
          Sets date format as a pattern string
HINT
          Sets hint label as string or number
LABEL
          Sets label text as string or number
NUMBER_FORMAT
          Sets number format as a pattern string
PIE_EXPLODE
          Sets pie exploding as double number
PIE_HEIGHT
          Sets pie height as double number
STYLE
          Sets style data as a Styles object
 
Method Summary
Modifier and Type Method and Description
static MetaDataType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MetaDataType[] 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

LABEL

public static final MetaDataType LABEL
Sets label text as string or number


HINT

public static final MetaDataType HINT
Sets hint label as string or number


STYLE

public static final MetaDataType STYLE
Sets style data as a Styles object


DATE_FORMAT

public static final MetaDataType DATE_FORMAT
Sets date format as a pattern string


NUMBER_FORMAT

public static final MetaDataType NUMBER_FORMAT
Sets number format as a pattern string


BAR_WIDTH

public static final MetaDataType BAR_WIDTH
Sets bar width as double number


PIE_EXPLODE

public static final MetaDataType PIE_EXPLODE
Sets pie exploding as double number


PIE_HEIGHT

public static final MetaDataType PIE_HEIGHT
Sets pie height as double number

Method Detail

values

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

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

valueOf

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