public static enum Block.Direction extends java.lang.Enum<Block.Direction>
Block
.Enum Constant | Description |
---|---|
HORIZONTAL |
This
Block has horizontal directionality. |
NONE |
This
Block has no directionality. |
VERTICAL |
This
Block has vertical directionality. |
Modifier and Type | Method | Description |
---|---|---|
static Block.Direction |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Block.Direction[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Block.Direction VERTICAL
Block
has vertical directionality.public static final Block.Direction HORIZONTAL
Block
has horizontal directionality.public static final Block.Direction NONE
Block
has no directionality.public static Block.Direction[] values()
for (Block.Direction c : Block.Direction.values()) System.out.println(c);
public static Block.Direction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2012–2018 Jett Team. All rights reserved.