Enum GraffitiCharts
java.lang.Object
java.lang.Enum<GraffitiCharts>
de.ipk_gatersleben.ag_nw.graffiti.plugins.editcomponents.chart_settings.GraffitiCharts
- All Implemented Interfaces:
ChartComponent
,Serializable
,Comparable<GraffitiCharts>
,java.lang.constant.Constable
public enum GraffitiCharts extends Enum<GraffitiCharts> implements ChartComponent
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description JComponent
getChart(GraphElement ge)
static GraffitiCharts
getChartStyleFromString(String type)
String
getComboboxText()
ImageIcon
getIcon()
String
getName()
String
getShortDescription()
static boolean
isHide(String diagramStyle)
static boolean
isNoAutoOrHide(String diagramStyle)
static boolean
isNotHeatmap(String diagramStyle)
String
toString()
static GraffitiCharts
valueOf(String name)
Returns the enum constant of this type with the specified name.static GraffitiCharts[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
LINE
-
BAR
-
BAR_FLAT
-
PIE
-
PIE3D
-
HEATMAP
-
HIDDEN
-
AUTOMATIC
-
LEGEND_ONLY
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
getChart
- Specified by:
getChart
in interfaceChartComponent
-
getIcon
- Specified by:
getIcon
in interfaceChartComponent
-
getName
- Specified by:
getName
in interfaceChartComponent
-
toString
- Overrides:
toString
in classEnum<GraffitiCharts>
-
getShortDescription
- Specified by:
getShortDescription
in interfaceChartComponent
-
getComboboxText
- Specified by:
getComboboxText
in interfaceChartComponent
-
getChartStyleFromString
-
isNoAutoOrHide
-
isHide
-
isNotHeatmap
-