Package jisa.gui
Enum Series.Dash
- java.lang.Object
-
- java.lang.Enum<Series.Dash>
-
- jisa.gui.Series.Dash
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Series.Dash>
- Enclosing interface:
- Series
public static enum Series.Dash extends java.lang.Enum<Series.Dash>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double[]
getArray()
double[]
getDoubleArray()
static Series.Dash
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Series.Dash[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOLID
public static final Series.Dash SOLID
-
DASHED
public static final Series.Dash DASHED
-
DOTTED
public static final Series.Dash DOTTED
-
TWO_DASH
public static final Series.Dash TWO_DASH
-
DOT_DASH
public static final Series.Dash DOT_DASH
-
LONG_DASH
public static final Series.Dash LONG_DASH
-
-
Method Detail
-
values
public static Series.Dash[] 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 (Series.Dash c : Series.Dash.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Series.Dash 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
-
getArray
public java.lang.Double[] getArray()
-
getDoubleArray
public double[] getDoubleArray()
-
-