Package org.uberfire.ext.plugin.model
Enum CodeType
- java.lang.Object
-
- java.lang.Enum<CodeType>
-
- org.uberfire.ext.plugin.model.CodeType
-
- All Implemented Interfaces:
Serializable,Comparable<CodeType>
@Portable public enum CodeType extends Enum<CodeType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CodeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CodeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAIN
public static final CodeType MAIN
-
ON_OPEN
public static final CodeType ON_OPEN
-
ON_FOCUS
public static final CodeType ON_FOCUS
-
ON_LOST_FOCUS
public static final CodeType ON_LOST_FOCUS
-
ON_MAY_CLOSE
public static final CodeType ON_MAY_CLOSE
-
ON_CLOSE
public static final CodeType ON_CLOSE
-
ON_STARTUP
public static final CodeType ON_STARTUP
-
ON_SHUTDOWN
public static final CodeType ON_SHUTDOWN
-
ON_RENAME
public static final CodeType ON_RENAME
-
ON_DELETE
public static final CodeType ON_DELETE
-
ON_COPY
public static final CodeType ON_COPY
-
ON_UPDATE
public static final CodeType ON_UPDATE
-
ON_CONCURRENT_UPDATE
public static final CodeType ON_CONCURRENT_UPDATE
-
ON_CONCURRENT_DELETE
public static final CodeType ON_CONCURRENT_DELETE
-
ON_CONCURRENT_RENAME
public static final CodeType ON_CONCURRENT_RENAME
-
ON_CONCURRENT_COPY
public static final CodeType ON_CONCURRENT_COPY
-
TITLE
public static final CodeType TITLE
-
RESOURCE_TYPE
public static final CodeType RESOURCE_TYPE
-
PRIORITY
public static final CodeType PRIORITY
-
BODY_HEIGHT
public static final CodeType BODY_HEIGHT
-
INTERCEPTION_POINTS
public static final CodeType INTERCEPTION_POINTS
-
PANEL_TYPE
public static final CodeType PANEL_TYPE
-
-
Method Detail
-
values
public static CodeType[] 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 (CodeType c : CodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodeType 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 nameNullPointerException- if the argument is null
-
-