public static enum EditorCommand.Name extends java.lang.Enum<EditorCommand.Name>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
value()
Returns a string representation of the command name.
|
static EditorCommand.Name |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EditorCommand.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EditorCommand.Name BOLD
public static final EditorCommand.Name COPY
public static final EditorCommand.Name CREATE_LINK
public static final EditorCommand.Name CUT
public static final EditorCommand.Name DELETE
public static final EditorCommand.Name DELETE_BACKWARD
public static final EditorCommand.Name DELETE_FORWARD
public static final EditorCommand.Name DELETE_TO_BEGINNING_OF_LINE
public static final EditorCommand.Name DELETE_WORD_BACKWARD
public static final EditorCommand.Name DELETE_WORD_FORWARD
public static final EditorCommand.Name INDENT
public static final EditorCommand.Name INSERT_NEW_LINE
public static final EditorCommand.Name INSERT_ORDERED_LIST
public static final EditorCommand.Name INSERT_PARAGRAPH
public static final EditorCommand.Name INSERT_TAB
public static final EditorCommand.Name INSERT_UNORDERED_LIST
public static final EditorCommand.Name IGNORE_SPELLING
public static final EditorCommand.Name ITALIC
public static final EditorCommand.Name JUSTIFY_CENTER
public static final EditorCommand.Name JUSTIFY_FULL
public static final EditorCommand.Name JUSTIFY_LEFT
public static final EditorCommand.Name JUSTIFY_RIGHT
public static final EditorCommand.Name MOVE_PAGE_UP
public static final EditorCommand.Name MOVE_PAGE_DOWN
public static final EditorCommand.Name MOVE_WORD_LEFT
public static final EditorCommand.Name MOVE_WORD_LEFT_AND_MODIFY_SELECTION
public static final EditorCommand.Name MOVE_WORD_RIGHT
public static final EditorCommand.Name MOVE_WORD_RIGHT_AND_MODIFY_SELECTION
public static final EditorCommand.Name MOVE_TO_BEGINNING_OF_LINE
public static final EditorCommand.Name MOVE_TO_BEGINNING_OF_LINE_AND_MODIFY_SELECTION
public static final EditorCommand.Name MOVE_TO_END_OF_LINE
public static final EditorCommand.Name MOVE_TO_END_OF_LINE_AND_MODIFY_SELECTION
public static final EditorCommand.Name OUTDENT
public static final EditorCommand.Name PASTE
public static final EditorCommand.Name REDO
public static final EditorCommand.Name REMOVE_FORMAT
public static final EditorCommand.Name SCROLL_PAGE_BACKWARD
public static final EditorCommand.Name SCROLL_PAGE_FORWARD
public static final EditorCommand.Name SCROLL_LINE_UP
public static final EditorCommand.Name SCROLL_LINE_DOWN
public static final EditorCommand.Name SCROLL_TO_BEGINNING_OF_DOCUMENT
public static final EditorCommand.Name SCROLL_TO_END_OF_DOCUMENT
public static final EditorCommand.Name SELECT_ALL
public static final EditorCommand.Name SELECT_LINE
public static final EditorCommand.Name SELECT_PARAGRAPH
public static final EditorCommand.Name SELECT_SENTENCE
public static final EditorCommand.Name SELECT_WORD
public static final EditorCommand.Name STRIKETHROUGH
public static final EditorCommand.Name SUBSCRIPT
public static final EditorCommand.Name SUPERSCRIPT
public static final EditorCommand.Name TOGGLE_BOLD
public static final EditorCommand.Name TOGGLE_ITALIC
public static final EditorCommand.Name TOGGLE_UNDERLINE
public static final EditorCommand.Name UNDERLINE
public static final EditorCommand.Name UNDO
public static final EditorCommand.Name UNLINK
public static final EditorCommand.Name UNSELECT
public static final EditorCommand.Name BACKGROUND_COLOR
public static final EditorCommand.Name FIND_STRING
public static final EditorCommand.Name FONT_SIZE
public static final EditorCommand.Name FONT_NAME
public static final EditorCommand.Name FOREGROUND_COLOR
public static final EditorCommand.Name INSERT_IMAGE
public static final EditorCommand.Name INSERT_HTML
public static final EditorCommand.Name INSERT_TEXT
public static EditorCommand.Name[] values()
for (EditorCommand.Name c : EditorCommand.Name.values()) System.out.println(c);
public static EditorCommand.Name 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()