public enum RichTextFeature extends Enum<RichTextFeature> implements NlsObject
Enum
with the available features of rich-text formatting options.Enum Constant and Description |
---|
ALIGN_CENTER
|
ALIGN_LEFT
|
ALIGN_RIGHT
|
BACKGROUND_COLOR
The
RichTextFeature to change the background color. |
BOLD
The
RichTextFeature to toggle bold text. |
FONT_COLOR
The
RichTextFeature to change the text color. |
FONT_FAMILY
|
FONT_SIZE
|
HORIZONTAL_LINE
The
RichTextFeature to insert a
horizontal line. |
INDENT
The
RichTextFeature to indent text. |
INSERT_IMAGE
The
RichTextFeature to insert images. |
INSERT_LINK
The
RichTextFeature to insert links. |
ITALIC
The
RichTextFeature to toggle italic text. |
ORDERED_LIST
The
RichTextFeature to toggle an ordered list. |
OUTDENT
The
RichTextFeature to outdent text. |
REDO
The
RichTextFeature to undo the re-do a change after an undo . |
REMOVE_FORMAT
The
RichTextFeature to change remove all formatting (styling markup) from the text. |
STRIKETHROUGH
The
RichTextFeature to toggle |
SUBSCRIPT
The
RichTextFeature to toggle subscript text. |
SUPERSCRIPT
The
RichTextFeature to toggle superscript text. |
UNDERLINE
The
RichTextFeature to toggle underlined text. |
UNDO
The
RichTextFeature to undo the last change. |
UNORDERED_LIST
The
RichTextFeature to toggle an unordered list. |
Modifier and Type | Field and Description |
---|---|
private static NlsBundleClientUiRoot |
bundle |
private String |
icon |
KEY_ANNOTATION, KEY_ARGUMENT, KEY_CAPACITY, KEY_CONTAINER, KEY_DEFAULT, KEY_DIRECTORY, KEY_ERROR, KEY_EXISTING, KEY_EXPECTED, KEY_FILE, KEY_FUNCTION, KEY_ID, KEY_KEY, KEY_LOCATION, KEY_MAX, KEY_MIN, KEY_MODE, KEY_NAME, KEY_OBJECT, KEY_OPERAND, KEY_OPERATION, KEY_OPTION, KEY_PATH, KEY_PROPERTY, KEY_QUERY, KEY_RESOURCE, KEY_SIZE, KEY_SOURCE, KEY_TARGET_TYPE, KEY_TITLE, KEY_TYPE, KEY_URI, KEY_USER, KEY_VALUE
Modifier and Type | Method and Description |
---|---|
private static NlsBundleClientUiRoot |
getBundle() |
String |
getIcon() |
static RichTextFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RichTextFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toNlsMessage
public static final RichTextFeature BOLD
RichTextFeature
to toggle bold text.public static final RichTextFeature ITALIC
RichTextFeature
to toggle italic text.public static final RichTextFeature UNDERLINE
RichTextFeature
to toggle underlined text.public static final RichTextFeature SUBSCRIPT
RichTextFeature
to toggle subscript text.public static final RichTextFeature SUPERSCRIPT
RichTextFeature
to toggle superscript text.public static final RichTextFeature STRIKETHROUGH
RichTextFeature
to toggle public static final RichTextFeature ALIGN_LEFT
public static final RichTextFeature ALIGN_CENTER
public static final RichTextFeature ALIGN_RIGHT
public static final RichTextFeature ORDERED_LIST
RichTextFeature
to toggle an ordered list. E.g.:
public static final RichTextFeature UNORDERED_LIST
RichTextFeature
to toggle an unordered list. E.g.:
public static final RichTextFeature HORIZONTAL_LINE
RichTextFeature
to insert a
public static final RichTextFeature INSERT_IMAGE
RichTextFeature
to insert images.public static final RichTextFeature INSERT_LINK
RichTextFeature
to insert links.public static final RichTextFeature FONT_FAMILY
public static final RichTextFeature FONT_SIZE
public static final RichTextFeature FONT_COLOR
RichTextFeature
to change the text color.public static final RichTextFeature BACKGROUND_COLOR
RichTextFeature
to change the background color.public static final RichTextFeature REMOVE_FORMAT
RichTextFeature
to change remove all formatting (styling markup) from the text.public static final RichTextFeature INDENT
RichTextFeature
to indent text.public static final RichTextFeature OUTDENT
RichTextFeature
to outdent text.public static final RichTextFeature UNDO
RichTextFeature
to undo the last change.public static final RichTextFeature REDO
RichTextFeature
to undo the re-do a change after an undo
.private static NlsBundleClientUiRoot bundle
getBundle()
public static RichTextFeature[] values()
for (RichTextFeature c : RichTextFeature.values()) System.out.println(c);
public static RichTextFeature 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 getIcon()
private static NlsBundleClientUiRoot getBundle()
NlsBundleClientUiRoot
.Copyright © 2001–2016 mmm-Team. All rights reserved.