renderable
Enum BlockLabel.Type
java.lang.Object
java.lang.Enum<BlockLabel.Type>
renderable.BlockLabel.Type
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<BlockLabel.Type>
- Enclosing class:
- BlockLabel
public static enum BlockLabel.Type
- extends java.lang.Enum<BlockLabel.Type>
Enum for the differnt types of labels in codeblocks
Method Summary |
static BlockLabel.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BlockLabel.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NAME_LABEL
public static final BlockLabel.Type NAME_LABEL
PAGE_LABEL
public static final BlockLabel.Type PAGE_LABEL
PORT_LABEL
public static final BlockLabel.Type PORT_LABEL
DATA_LABEL
public static final BlockLabel.Type DATA_LABEL
values
public static BlockLabel.Type[] 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 (BlockLabel.Type c : BlockLabel.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BlockLabel.Type 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
java.lang.NullPointerException
- if the argument is null