Enum PlotAttribute
- java.lang.Object
-
- java.lang.Enum<PlotAttribute>
-
- com.inductiveautomation.factorypmi.application.components.chart.easychart.PlotAttribute
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PlotAttribute>
public enum PlotAttribute extends java.lang.Enum<PlotAttribute>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OVERRIDE_BACKGROUND
OVERRIDE_BACKGROUND_COLOR
WEIGHT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBoolean(int row, Dataset ds)
java.awt.Color
getColor(int row, Dataset ds)
java.lang.Object
getDefault()
int
getInt(int row, Dataset ds)
java.lang.String
getName()
java.lang.Object
getObject(int row, Dataset ds)
java.lang.Class
getType()
static PlotAttribute
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PlotAttribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEIGHT
public static final PlotAttribute WEIGHT
-
OVERRIDE_BACKGROUND
public static final PlotAttribute OVERRIDE_BACKGROUND
-
OVERRIDE_BACKGROUND_COLOR
public static final PlotAttribute OVERRIDE_BACKGROUND_COLOR
-
-
Method Detail
-
values
public static PlotAttribute[] 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 (PlotAttribute c : PlotAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlotAttribute 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 namejava.lang.NullPointerException
- if the argument is null
-
getDefault
public java.lang.Object getDefault()
-
getType
public java.lang.Class getType()
-
getName
public java.lang.String getName()
-
getObject
public java.lang.Object getObject(int row, Dataset ds)
-
getInt
public int getInt(int row, Dataset ds)
-
getBoolean
public boolean getBoolean(int row, Dataset ds)
-
getColor
public java.awt.Color getColor(int row, Dataset ds)
-
-