public enum ToolBehavior extends Enum<ToolBehavior>
Modifier and Type | Method and Description |
---|---|
static ToolBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToolBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToolBehavior TOOL
public static final ToolBehavior BLOCK
public static final ToolBehavior NONE
public static ToolBehavior[] values()
for (ToolBehavior c : ToolBehavior.values()) System.out.println(c);
public static ToolBehavior valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All rights reserved.