org.nuxeo.ecm.platform.ui.web.component.list
Enum EditableListModificationType
java.lang.Object
java.lang.Enum<EditableListModificationType>
org.nuxeo.ecm.platform.ui.web.component.list.EditableListModificationType
- All Implemented Interfaces:
- Serializable, Comparable<EditableListModificationType>
public enum EditableListModificationType
- extends Enum<EditableListModificationType>
- Author:
- Anahide Tchertchian
ADD
public static final EditableListModificationType ADD
INSERT
public static final EditableListModificationType INSERT
REMOVE
public static final EditableListModificationType REMOVE
MOVEUP
public static final EditableListModificationType MOVEUP
MOVEDOWN
public static final EditableListModificationType MOVEDOWN
values
public static EditableListModificationType[] 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 (EditableListModificationType c : EditableListModificationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EditableListModificationType valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getStringType
public String getStringType()
- String type to use in html pages.
valueOfString
public static EditableListModificationType valueOfString(String name)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.