de.mid.innovator.srv2api.icw2dg
Enum DGHeader.VAttr
java.lang.Object
java.lang.Enum<DGHeader.VAttr>
de.mid.innovator.srv2api.icw2dg.DGHeader.VAttr
- All Implemented Interfaces:
- K_VATTR, Serializable, Comparable<DGHeader.VAttr>
- Enclosing interface:
- DGHeader
public static enum DGHeader.VAttr
- extends Enum<DGHeader.VAttr>
- implements K_VATTR
|
Method Summary |
int |
toInt()
Returns a specific integer value for the enumeration constant. |
static DGHeader.VAttr |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DGHeader.VAttr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Center
public static final DGHeader.VAttr Center
CSelection
public static final DGHeader.VAttr CSelection
Left
public static final DGHeader.VAttr Left
LineBelow
public static final DGHeader.VAttr LineBelow
MSelection
public static final DGHeader.VAttr MSelection
OwningProfile
public static final DGHeader.VAttr OwningProfile
Right
public static final DGHeader.VAttr Right
toInt
public int toInt()
- Returns a specific integer value for the enumeration constant.
This method is needed to serialize enumeration constants.
- Specified by:
toInt in interface K_VATTR
- Returns:
- the specified value of the enumeration constant
valueOf
public static DGHeader.VAttr 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
values
public static DGHeader.VAttr[] 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 (DGHeader.VAttr c : DGHeader.VAttr.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared