public enum CharacterType extends Enum<CharacterType>
Enum Constant and Description |
---|
BLINK |
BOLD |
CONCEAL |
CROSSED_OUT |
FAINT |
INVERT |
ITALIC |
UNDERLINE |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
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 BOLD
public static final CharacterType FAINT
public static final CharacterType ITALIC
public static final CharacterType UNDERLINE
public static final CharacterType BLINK
public static final CharacterType INVERT
public static final CharacterType CONCEAL
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()
Copyright © 2019 JBoss, a division of Red Hat, Inc.. All Rights Reserved.