public enum Format extends Enum<Format>
Enum Constant and Description |
---|
BOLD
Bold style.
|
ITALIC
Italic style.
|
MONOSPACE
Monospace style.
|
NONE
No style.
|
STRIKEDOUT
Strikedout style.
|
SUBSCRIPT
Subscript style.
|
SUPERSCRIPT
Superscript style.
|
UNDERLINED
Underlined style.
|
Modifier and Type | Method and Description |
---|---|
static Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Format BOLD
public static final Format ITALIC
public static final Format UNDERLINED
public static final Format STRIKEDOUT
public static final Format SUPERSCRIPT
public static final Format SUBSCRIPT
public static final Format MONOSPACE
public static final Format NONE
public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static Format 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 © 2004–2021 XWiki. All rights reserved.