Package org.xmlet.htmlapifaster
Enum EnumShapeType
- java.lang.Object
-
- java.lang.Enum<EnumShapeType>
-
- org.xmlet.htmlapifaster.EnumShapeType
-
- All Implemented Interfaces:
Serializable,Comparable<EnumShapeType>,org.xmlet.xsdasmfaster.classes.infrastructure.EnumInterface<String>
public enum EnumShapeType extends Enum<EnumShapeType> implements org.xmlet.xsdasmfaster.classes.infrastructure.EnumInterface<String>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static EnumShapeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EnumShapeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECT
public static final EnumShapeType RECT
-
CIRCLE
public static final EnumShapeType CIRCLE
-
POLY
public static final EnumShapeType POLY
-
DEFAULT
public static final EnumShapeType DEFAULT
-
-
Method Detail
-
values
public static EnumShapeType[] 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 (EnumShapeType c : EnumShapeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnumShapeType 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
-
-