Enum LightPortStatusLabel
- java.lang.Object
-
- java.lang.Enum<LightPortStatusLabel>
-
- org.bidib.wizard.mvc.main.view.panel.renderer.LightPortStatusLabel
-
- All Implemented Interfaces:
Serializable,Comparable<LightPortStatusLabel>
public enum LightPortStatusLabel extends Enum<LightPortStatusLabel>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()org.bidib.jbidibc.messages.enums.LightPortEnumgetType()StringtoString()static LightPortStatusLabelvalueOf(String name)Returns the enum constant of this type with the specified name.static LightPortStatusLabelvalueOf(org.bidib.jbidibc.messages.enums.LightPortEnum type)Returns the enum constant of this type with the specified name.static LightPortStatusLabel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON
public static final LightPortStatusLabel ON
-
OFF
public static final LightPortStatusLabel OFF
-
UP
public static final LightPortStatusLabel UP
-
DOWN
public static final LightPortStatusLabel DOWN
-
NEON
public static final LightPortStatusLabel NEON
-
BLINKA
public static final LightPortStatusLabel BLINKA
-
BLINKB
public static final LightPortStatusLabel BLINKB
-
FLASHA
public static final LightPortStatusLabel FLASHA
-
FLASHB
public static final LightPortStatusLabel FLASHB
-
DOUBLEFLASH
public static final LightPortStatusLabel DOUBLEFLASH
-
UNKNOWN
public static final LightPortStatusLabel UNKNOWN
-
TEST
public static final LightPortStatusLabel TEST
-
-
Method Detail
-
values
public static LightPortStatusLabel[] 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 (LightPortStatusLabel c : LightPortStatusLabel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LightPortStatusLabel valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getType
public org.bidib.jbidibc.messages.enums.LightPortEnum getType()
-
getKey
public String getKey()
-
toString
public String toString()
- Overrides:
toStringin classEnum<LightPortStatusLabel>
-
valueOf
public static LightPortStatusLabel valueOf(org.bidib.jbidibc.messages.enums.LightPortEnum type)
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:
type- 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
-
-