public static enum MetricsGraph.CHART_TYPE extends Enum<MetricsGraph.CHART_TYPE>
Enum Constant and Description |
---|
HISTORICAL_BAR_CHART |
LINE_CHART |
LINE_PLUS_BAR_CHART |
MULTI_CHART |
STACKED_AREA_CHART |
Modifier and Type | Method and Description |
---|---|
static MetricsGraph.CHART_TYPE |
fromString(String text) |
static MetricsGraph.CHART_TYPE |
get(int id) |
String |
getText() |
static MetricsGraph.CHART_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsGraph.CHART_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsGraph.CHART_TYPE LINE_CHART
public static final MetricsGraph.CHART_TYPE HISTORICAL_BAR_CHART
public static final MetricsGraph.CHART_TYPE STACKED_AREA_CHART
public static final MetricsGraph.CHART_TYPE MULTI_CHART
public static final MetricsGraph.CHART_TYPE LINE_PLUS_BAR_CHART
public static MetricsGraph.CHART_TYPE[] values()
for (MetricsGraph.CHART_TYPE c : MetricsGraph.CHART_TYPE.values()) System.out.println(c);
public static MetricsGraph.CHART_TYPE valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getText()
public static MetricsGraph.CHART_TYPE get(int id)
public static MetricsGraph.CHART_TYPE fromString(String text)
Copyright © 2015–2019. All rights reserved.