Package com.jalios.jcms.wysiwyg
Enum WysiwygConfigurationUpdate.UpdateAction
- java.lang.Object
-
- java.lang.Enum<WysiwygConfigurationUpdate.UpdateAction>
-
- com.jalios.jcms.wysiwyg.WysiwygConfigurationUpdate.UpdateAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WysiwygConfigurationUpdate.UpdateAction>
- Enclosing class:
- WysiwygConfigurationUpdate
public static enum WysiwygConfigurationUpdate.UpdateAction extends java.lang.Enum<WysiwygConfigurationUpdate.UpdateAction>
Enumeration of actions to update a WYSIWYG configuration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSERT_PLUGIN
Insert a new plugin.INSERT_TOOLBAR
Insert a new toolbar at the specified index.INSERT_TOOLBAR_GROUP
Insert a Grouping toolbar controls at the specified index.INSERT_TOOLBAR_ITEM_AFTER
Insert a new item after another item.INSERT_TOOLBAR_ITEM_BEFORE
Insert a new item before another item.REMOVE_PLUGIN
Remove the specified plugin.REMOVE_TOOLBAR
Remove the toolbar at the specified index.REMOVE_TOOLBAR_GROUP
Remove the Grouping toolbar controls at the specified index.REMOVE_TOOLBAR_ITEM
Remove a specified item.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WysiwygConfigurationUpdate.UpdateAction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WysiwygConfigurationUpdate.UpdateAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT_TOOLBAR_ITEM_BEFORE
public static final WysiwygConfigurationUpdate.UpdateAction INSERT_TOOLBAR_ITEM_BEFORE
Insert a new item before another item. Data to define: "item", "item-before"
-
INSERT_TOOLBAR_ITEM_AFTER
public static final WysiwygConfigurationUpdate.UpdateAction INSERT_TOOLBAR_ITEM_AFTER
Insert a new item after another item. Data to define: "item", "item-after"
-
REMOVE_TOOLBAR_ITEM
public static final WysiwygConfigurationUpdate.UpdateAction REMOVE_TOOLBAR_ITEM
Remove a specified item. Data to define: "item"
-
INSERT_TOOLBAR
public static final WysiwygConfigurationUpdate.UpdateAction INSERT_TOOLBAR
Insert a new toolbar at the specified index. Data to define: "index", "toolbar"
-
REMOVE_TOOLBAR
public static final WysiwygConfigurationUpdate.UpdateAction REMOVE_TOOLBAR
Remove the toolbar at the specified index. Data to define: "index"
-
INSERT_TOOLBAR_GROUP
public static final WysiwygConfigurationUpdate.UpdateAction INSERT_TOOLBAR_GROUP
Insert a Grouping toolbar controls at the specified index. Data to define "index", "toolbar-index", "group"
-
REMOVE_TOOLBAR_GROUP
public static final WysiwygConfigurationUpdate.UpdateAction REMOVE_TOOLBAR_GROUP
Remove the Grouping toolbar controls at the specified index. Data to define "index", "toolbar-index"
-
INSERT_PLUGIN
public static final WysiwygConfigurationUpdate.UpdateAction INSERT_PLUGIN
Insert a new plugin. Data to define: "plugin"
-
REMOVE_PLUGIN
public static final WysiwygConfigurationUpdate.UpdateAction REMOVE_PLUGIN
Remove the specified plugin. Data to define: "plugin"
-
-
Method Detail
-
values
public static WysiwygConfigurationUpdate.UpdateAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WysiwygConfigurationUpdate.UpdateAction c : WysiwygConfigurationUpdate.UpdateAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WysiwygConfigurationUpdate.UpdateAction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-