org.jboss.aesh.terminal
public enum CharacterType extends Enum<CharacterType>
Enum Constant and Description |
---|
BLINK |
BOLD |
CROSSED_OUT |
INVERT |
ITALIC |
NORMAL |
PLAIN |
UNDERLINE |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
String |
getValueComparedToPrev(CharacterType prev) |
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 NORMAL
public static final CharacterType BOLD
public static final CharacterType PLAIN
public static final CharacterType ITALIC
public static final CharacterType UNDERLINE
public static final CharacterType BLINK
public static final CharacterType INVERT
public static final CharacterType CROSSED_OUT
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 nullpublic int getValue()
public String getValueComparedToPrev(CharacterType prev)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.