Package org.opencms.gwt.client.ui
Enum I_CmsButton.ButtonData
- java.lang.Object
-
- java.lang.Enum<I_CmsButton.ButtonData>
-
- org.opencms.gwt.client.ui.I_CmsButton.ButtonData
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<I_CmsButton.ButtonData>
- Enclosing interface:
- I_CmsButton
public static enum I_CmsButton.ButtonData extends java.lang.Enum<I_CmsButton.ButtonData>
Available button icons.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
Shows formerly hidden elements.ADD_TO_FAVORITES
Toolbar button.BACK
Toolbar button.BOOKMARKS_BUTTON
Toolbar button.CLIPBOARD_BUTTON
Toolbar button.CONTEXT
Toolbar button.COPY_LOCALE_BUTTON
Toolbar button.EDIT
Toolbar button.ELEMENT_INFO
Toolbar button.GALLERY_BUTTON
Toolbar button.INFO_BUTTON
Toolbar button.INHERITED
Inherited element button.LIST
The list manager button.MOVE
Toolbar button.PUBLISH_BUTTON
Toolbar button.REMOVE
Toolbar button.RESET_BUTTON
Toolbar button.SAVE_BUTTON
Toolbar button.SELECTION
Toolbar button.SETTINGS_BUTTON
Toolbar button.SITEMAP_BUTTON
Toolbar button.TOGGLE_HELP
Toolbar button.WAND_BUTTON
Toolbar button.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIconClass()
Returns the CSS class name.java.lang.String
getSmallIconClass()
Returns the icon class for small icons of 20x20.java.lang.String
getTitle()
Returns the title.static I_CmsButton.ButtonData
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static I_CmsButton.ButtonData[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final I_CmsButton.ButtonData ADD
Shows formerly hidden elements.
-
ADD_TO_FAVORITES
public static final I_CmsButton.ButtonData ADD_TO_FAVORITES
Toolbar button.
-
BACK
public static final I_CmsButton.ButtonData BACK
Toolbar button.
-
BOOKMARKS_BUTTON
public static final I_CmsButton.ButtonData BOOKMARKS_BUTTON
Toolbar button.
-
CLIPBOARD_BUTTON
public static final I_CmsButton.ButtonData CLIPBOARD_BUTTON
Toolbar button.
-
CONTEXT
public static final I_CmsButton.ButtonData CONTEXT
Toolbar button.
-
COPY_LOCALE_BUTTON
public static final I_CmsButton.ButtonData COPY_LOCALE_BUTTON
Toolbar button.
-
EDIT
public static final I_CmsButton.ButtonData EDIT
Toolbar button.
-
ELEMENT_INFO
public static final I_CmsButton.ButtonData ELEMENT_INFO
Toolbar button.
-
GALLERY_BUTTON
public static final I_CmsButton.ButtonData GALLERY_BUTTON
Toolbar button.
-
INFO_BUTTON
public static final I_CmsButton.ButtonData INFO_BUTTON
Toolbar button.
-
INHERITED
public static final I_CmsButton.ButtonData INHERITED
Inherited element button.
-
LIST
public static final I_CmsButton.ButtonData LIST
The list manager button.
-
MOVE
public static final I_CmsButton.ButtonData MOVE
Toolbar button.
-
PUBLISH_BUTTON
public static final I_CmsButton.ButtonData PUBLISH_BUTTON
Toolbar button.
-
REMOVE
public static final I_CmsButton.ButtonData REMOVE
Toolbar button.
-
RESET_BUTTON
public static final I_CmsButton.ButtonData RESET_BUTTON
Toolbar button.
-
SAVE_BUTTON
public static final I_CmsButton.ButtonData SAVE_BUTTON
Toolbar button.
-
SELECTION
public static final I_CmsButton.ButtonData SELECTION
Toolbar button.
-
SETTINGS_BUTTON
public static final I_CmsButton.ButtonData SETTINGS_BUTTON
Toolbar button.
-
SITEMAP_BUTTON
public static final I_CmsButton.ButtonData SITEMAP_BUTTON
Toolbar button.
-
TOGGLE_HELP
public static final I_CmsButton.ButtonData TOGGLE_HELP
Toolbar button.
-
WAND_BUTTON
public static final I_CmsButton.ButtonData WAND_BUTTON
Toolbar button.
-
-
Method Detail
-
values
public static I_CmsButton.ButtonData[] 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 (I_CmsButton.ButtonData c : I_CmsButton.ButtonData.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static I_CmsButton.ButtonData 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
-
getIconClass
public java.lang.String getIconClass()
Returns the CSS class name.- Returns:
- the CSS class name
-
getSmallIconClass
public java.lang.String getSmallIconClass()
Returns the icon class for small icons of 20x20.- Returns:
- the small icon class
-
getTitle
public java.lang.String getTitle()
Returns the title.- Returns:
- the title
-
-