- java.lang.Object
-
- java.lang.Enum<HTMLEditorSkin.Command>
-
- javafx.scene.web.HTMLEditorSkin.Command
-
- All Implemented Interfaces:
-
Serializable
,Comparable<HTMLEditorSkin.Command>
- Enclosing class:
- HTMLEditorSkin
public static enum HTMLEditorSkin.Command extends Enum<HTMLEditorSkin.Command>
表示可以传递到HTMLEditor Web引擎的命令。
-
-
Enum Constant Summary
-
方法摘要
所有方法 静态方法 接口方法 具体的方法 Modifier and Type 方法 描述 String
getCommand()
static HTMLEditorSkin.Command
valueOf(String name)
以指定的名称返回此类型的枚举常量。static HTMLEditorSkin.Command[]
values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
-
-
-
Enum Constant Detail
-
CUT
public static final HTMLEditorSkin.Command CUT
-
COPY
public static final HTMLEditorSkin.Command COPY
-
PASTE
public static final HTMLEditorSkin.Command PASTE
-
UNDO
public static final HTMLEditorSkin.Command UNDO
-
REDO
public static final HTMLEditorSkin.Command REDO
-
INSERT_HORIZONTAL_RULE
public static final HTMLEditorSkin.Command INSERT_HORIZONTAL_RULE
-
ALIGN_LEFT
public static final HTMLEditorSkin.Command ALIGN_LEFT
-
ALIGN_CENTER
public static final HTMLEditorSkin.Command ALIGN_CENTER
-
ALIGN_RIGHT
public static final HTMLEditorSkin.Command ALIGN_RIGHT
-
ALIGN_JUSTIFY
public static final HTMLEditorSkin.Command ALIGN_JUSTIFY
-
BULLETS
public static final HTMLEditorSkin.Command BULLETS
-
NUMBERS
public static final HTMLEditorSkin.Command NUMBERS
-
INDENT
public static final HTMLEditorSkin.Command INDENT
-
OUTDENT
public static final HTMLEditorSkin.Command OUTDENT
-
FORMAT
public static final HTMLEditorSkin.Command FORMAT
-
FONT_FAMILY
public static final HTMLEditorSkin.Command FONT_FAMILY
-
FONT_SIZE
public static final HTMLEditorSkin.Command FONT_SIZE
-
BOLD
public static final HTMLEditorSkin.Command BOLD
-
ITALIC
public static final HTMLEditorSkin.Command ITALIC
-
UNDERLINE
public static final HTMLEditorSkin.Command UNDERLINE
-
STRIKETHROUGH
public static final HTMLEditorSkin.Command STRIKETHROUGH
-
FOREGROUND_COLOR
public static final HTMLEditorSkin.Command FOREGROUND_COLOR
-
BACKGROUND_COLOR
public static final HTMLEditorSkin.Command BACKGROUND_COLOR
-
INSERT_NEW_LINE
public static final HTMLEditorSkin.Command INSERT_NEW_LINE
-
INSERT_TAB
public static final HTMLEditorSkin.Command INSERT_TAB
-
-
方法详细信息
-
values
public static HTMLEditorSkin.Command[] values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。 该方法可用于遍历常量如下:for (HTMLEditorSkin.Command c : HTMLEditorSkin.Command.values()) System.out.println(c);
- 结果
- 一个包含这个枚举类型的常量的数组,按照它们被声明的顺序
-
valueOf
public static HTMLEditorSkin.Command valueOf(String name)
以指定的名称返回此类型的枚举常量。 字符串必须完全匹配用于声明此类型的枚举常量的标识符。 (不允许使用外来空白字符。)- 参数
-
name
- 要返回的枚举常量的名称。 - 结果
- 具有指定名称的枚举常数
- 异常
-
IllegalArgumentException
- 如果此枚举类型没有指定名称的常量 -
NullPointerException
- 如果参数为空
-
getCommand
public String getCommand()
-
-