public enum EditorMode extends Enum<EditorMode> implements EditorButton
Enum Constant and Description |
---|
BLOCK_QUOTE |
BOLD |
BULLETED_LIST |
ITALIC |
MAXIMIZE |
NUMBERED_LIST |
SHOW_BLOCKS |
SOURCE |
SPELL_CHECK_AS_YOU_TYPE |
STRIKE_THROUGH |
SUBSCRIPT |
SUPERSCRIPT |
UNDERLINE |
Modifier and Type | Method and Description |
---|---|
String |
getCSSClassName() |
String |
toString() |
static EditorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EditorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EditorMode SOURCE
public static final EditorMode SPELL_CHECK_AS_YOU_TYPE
public static final EditorMode BOLD
public static final EditorMode ITALIC
public static final EditorMode UNDERLINE
public static final EditorMode STRIKE_THROUGH
public static final EditorMode SUBSCRIPT
public static final EditorMode SUPERSCRIPT
public static final EditorMode NUMBERED_LIST
public static final EditorMode BULLETED_LIST
public static final EditorMode BLOCK_QUOTE
public static final EditorMode MAXIMIZE
public static final EditorMode SHOW_BLOCKS
public static EditorMode[] values()
for (EditorMode c : EditorMode.values()) System.out.println(c);
public static EditorMode 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 String toString()
toString
in class Enum<EditorMode>
public String getCSSClassName()
getCSSClassName
in interface EditorButton
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.