org.gwe.utils.web
Enum WebIcon
java.lang.Object
java.lang.Enum<WebIcon>
org.gwe.utils.web.WebIcon
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<WebIcon>
public enum WebIcon
- extends java.lang.Enum<WebIcon>
- Since:
- Dec 21, 2008
- Author:
- Marco Ruiz
Method Summary |
static WebIcon |
getImageById(java.lang.String id)
|
static WebIcon |
getImageFor(java.lang.Object value)
|
java.lang.String |
toString()
|
static WebIcon |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WebIcon[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
STATUS_OK
public static final WebIcon STATUS_OK
STATUS_WARN
public static final WebIcon STATUS_WARN
STATUS_INFO
public static final WebIcon STATUS_INFO
STATUS_HELP
public static final WebIcon STATUS_HELP
STATUS_ERROR
public static final WebIcon STATUS_ERROR
OPER_PREVIEW
public static final WebIcon OPER_PREVIEW
OPER_QUEUE
public static final WebIcon OPER_QUEUE
OPER_UP
public static final WebIcon OPER_UP
OPER_DOWN
public static final WebIcon OPER_DOWN
OPER_PAUSE
public static final WebIcon OPER_PAUSE
OPER_RESUME
public static final WebIcon OPER_RESUME
OPER_DELETE
public static final WebIcon OPER_DELETE
ENT_GRID
public static final WebIcon ENT_GRID
ENT_CLUSTER
public static final WebIcon ENT_CLUSTER
ENT_ORDER
public static final WebIcon ENT_ORDER
ENT_JOB
public static final WebIcon ENT_JOB
ENT_EXEC
public static final WebIcon ENT_EXEC
ENT_PERM
public static final WebIcon ENT_PERM
ENT_STMT
public static final WebIcon ENT_STMT
values
public static final WebIcon[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(WebIcon c : WebIcon.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static WebIcon 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 name
getImageById
public static WebIcon getImageById(java.lang.String id)
getImageFor
public static WebIcon getImageFor(java.lang.Object value)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<WebIcon>
Copyright © 2007-2009. All Rights Reserved.