fr.ifremer.wao.ui.data
Enum ChartUtils.ChartType
java.lang.Object
java.lang.Enum<ChartUtils.ChartType>
fr.ifremer.wao.ui.data.ChartUtils.ChartType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ChartUtils.ChartType>
- Enclosing class:
- ChartUtils
public static enum ChartUtils.ChartType
- extends java.lang.Enum<ChartUtils.ChartType>
|
Field Summary |
protected boolean |
noCategoryMargin
|
protected java.lang.Class<? extends org.jfree.chart.renderer.category.AbstractCategoryItemRenderer> |
rendererClass
|
|
Method Summary |
org.jfree.chart.renderer.category.AbstractCategoryItemRenderer |
createRenderer()
|
static ChartUtils.ChartType |
valueOf(java.lang.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 |
BAR
public static final ChartUtils.ChartType BAR
LINE
public static final ChartUtils.ChartType LINE
AREA
public static final ChartUtils.ChartType AREA
rendererClass
protected java.lang.Class<? extends org.jfree.chart.renderer.category.AbstractCategoryItemRenderer> rendererClass
noCategoryMargin
protected boolean noCategoryMargin
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(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
createRenderer
public org.jfree.chart.renderer.category.AbstractCategoryItemRenderer createRenderer()
Copyright © 2009-2010 Ifremer. All Rights Reserved.