public enum CharacterType extends Enum<CharacterType>
Enum Constant and Description |
---|
ARROW_DOWN
Arrow down.
|
ARROW_UP
Arrow up.
|
BACK |
DISPLAY
Display Character.
|
END
End marks the end of a line (i.e.
|
QUIT
Quit character.
|
START
Start marks the start of a line (a null character).
|
Modifier and Type | Method and Description |
---|---|
static CharacterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharacterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharacterType START
public static final CharacterType END
public static final CharacterType BACK
public static final CharacterType ARROW_UP
public static final CharacterType ARROW_DOWN
public static final CharacterType DISPLAY
public static final CharacterType QUIT
public static CharacterType[] values()
for (CharacterType c : CharacterType.values()) System.out.println(c);
public static CharacterType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries