Package org.eclipse.nebula.widgets.led
Enum LEDCharacter
- java.lang.Object
-
- java.lang.Enum<LEDCharacter>
-
- org.eclipse.nebula.widgets.led.LEDCharacter
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LEDCharacter>
public enum LEDCharacter extends java.lang.Enum<LEDCharacter>
Enum with definition of the segments to be highlighted. Placing of the LEDs: 0000 5 1 6666 4 2 3333
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LEDCharacter(boolean one, boolean two, boolean three, boolean four, boolean five, boolean six, boolean seven)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LEDCharacter
getByNumber(int number)
boolean
isSwitchedOn(int index)
static LEDCharacter
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LEDCharacter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLEAR
public static final LEDCharacter CLEAR
-
MINUS
public static final LEDCharacter MINUS
-
ZERO
public static final LEDCharacter ZERO
-
ONE
public static final LEDCharacter ONE
-
TWO
public static final LEDCharacter TWO
-
THREE
public static final LEDCharacter THREE
-
FOUR
public static final LEDCharacter FOUR
-
FIVE
public static final LEDCharacter FIVE
-
SIX
public static final LEDCharacter SIX
-
SEVEN
public static final LEDCharacter SEVEN
-
EIGHT
public static final LEDCharacter EIGHT
-
NINE
public static final LEDCharacter NINE
-
A
public static final LEDCharacter A
-
B
public static final LEDCharacter B
-
C
public static final LEDCharacter C
-
D
public static final LEDCharacter D
-
E
public static final LEDCharacter E
-
F
public static final LEDCharacter F
-
G
public static final LEDCharacter G
-
H
public static final LEDCharacter H
-
I
public static final LEDCharacter I
-
J
public static final LEDCharacter J
-
K
public static final LEDCharacter K
-
L
public static final LEDCharacter L
-
M
public static final LEDCharacter M
-
N
public static final LEDCharacter N
-
O
public static final LEDCharacter O
-
P
public static final LEDCharacter P
-
Q
public static final LEDCharacter Q
-
R
public static final LEDCharacter R
-
S
public static final LEDCharacter S
-
T
public static final LEDCharacter T
-
U
public static final LEDCharacter U
-
V
public static final LEDCharacter V
-
W
public static final LEDCharacter W
-
X
public static final LEDCharacter X
-
Y
public static final LEDCharacter Y
-
Z
public static final LEDCharacter Z
-
-
Method Detail
-
values
public static LEDCharacter[] 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 (LEDCharacter c : LEDCharacter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LEDCharacter 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
-
getByNumber
public static LEDCharacter getByNumber(int number)
-
isSwitchedOn
public boolean isSwitchedOn(int index)
-
-