|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Format>
org.xwiki.rendering.listener.Format
public enum Format
Represents a text formatting (bold, italic, etc).
| Enum Constant Summary | |
|---|---|
BOLD
Bold style. |
|
ITALIC
Italic style. |
|
MONOSPACE
Monospace style. |
|
NONE
No style. |
|
STRIKEDOUT
Strikedout style. |
|
SUBSCRIPT
Subscript style. |
|
SUPERSCRIPT
Superscript style. |
|
UNDERLINED
Underlined style. |
|
| Method Summary | |
|---|---|
static Format |
valueOf(java.lang.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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static Format valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||