Enum DataLength
- java.lang.Object
-
- java.lang.Enum<DataLength>
-
- cern.accsoft.steering.aloha.display.annotate.DataLength
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataLength>
public enum DataLength extends java.lang.Enum<DataLength>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_CORRECTORSACTIVE_MONITORSALL_ELEMENTS
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.List<java.lang.String>getLabels(MachineElementsManager machineElementsManager, ModelOpticsData modelData, Plane plane)static DataLengthvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataLength[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE_MONITORS
public static final DataLength ACTIVE_MONITORS
-
ACTIVE_CORRECTORS
public static final DataLength ACTIVE_CORRECTORS
-
ALL_ELEMENTS
public static final DataLength ALL_ELEMENTS
-
-
Method Detail
-
values
public static DataLength[] 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 (DataLength c : DataLength.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataLength 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
-
getLabels
public abstract java.util.List<java.lang.String> getLabels(MachineElementsManager machineElementsManager, ModelOpticsData modelData, Plane plane)
-
-