Package org.opencms.gwt.shared
Enum CmsListInfoBean.LockIcon
- java.lang.Object
-
- java.lang.Enum<CmsListInfoBean.LockIcon>
-
- org.opencms.gwt.shared.CmsListInfoBean.LockIcon
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsListInfoBean.LockIcon>
- Enclosing class:
- CmsListInfoBean
public static enum CmsListInfoBean.LockIcon extends java.lang.Enum<CmsListInfoBean.LockIcon>
Lock icons.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSED
Closed lock.NONE
No lock.OPEN
Open lock.SHARED_CLOSED
Shared closed lock.SHARED_OPEN
Shared open lock.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsListInfoBean.LockIcon
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsListInfoBean.LockIcon[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSED
public static final CmsListInfoBean.LockIcon CLOSED
Closed lock.
-
NONE
public static final CmsListInfoBean.LockIcon NONE
No lock.
-
OPEN
public static final CmsListInfoBean.LockIcon OPEN
Open lock.
-
SHARED_CLOSED
public static final CmsListInfoBean.LockIcon SHARED_CLOSED
Shared closed lock.
-
SHARED_OPEN
public static final CmsListInfoBean.LockIcon SHARED_OPEN
Shared open lock.
-
-
Method Detail
-
values
public static CmsListInfoBean.LockIcon[] 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 (CmsListInfoBean.LockIcon c : CmsListInfoBean.LockIcon.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsListInfoBean.LockIcon 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
-
-