fr.ifremer.wao.ui.data
Enum ChartUtils.ChartType

java.lang.Object
  extended by java.lang.Enum<ChartUtils.ChartType>
      extended by fr.ifremer.wao.ui.data.ChartUtils.ChartType
All Implemented Interfaces:
Serializable, Comparable<ChartUtils.ChartType>
Enclosing class:
ChartUtils

public static enum ChartUtils.ChartType
extends Enum<ChartUtils.ChartType>


Enum Constant Summary
AREA
           
BAR
           
LINE
           
 
Field Summary
protected  boolean noCategoryMargin
           
protected  Class<? extends org.jfree.chart.renderer.category.AbstractCategoryItemRenderer> rendererClass
           
 
Method Summary
 org.jfree.chart.renderer.category.AbstractCategoryItemRenderer createRenderer()
           
static ChartUtils.ChartType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ChartUtils.ChartType[] 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

BAR

public static final ChartUtils.ChartType BAR

LINE

public static final ChartUtils.ChartType LINE

AREA

public static final ChartUtils.ChartType AREA
Field Detail

rendererClass

protected Class<? extends org.jfree.chart.renderer.category.AbstractCategoryItemRenderer> rendererClass

noCategoryMargin

protected boolean noCategoryMargin
Method Detail

values

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

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

valueOf

public static ChartUtils.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
NullPointerException - if the argument is null

createRenderer

public org.jfree.chart.renderer.category.AbstractCategoryItemRenderer createRenderer()


Copyright © 2009-2012 Ifremer. All Rights Reserved.