public static enum Component.Type extends java.lang.Enum<Component.Type>
Enum Constant and Description |
---|
DIRECTORY |
FILE |
MODULE |
PROJECT |
SUBVIEW |
VIEW |
Modifier and Type | Method and Description |
---|---|
static Component.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Component.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Component.Type PROJECT
public static final Component.Type MODULE
public static final Component.Type DIRECTORY
public static final Component.Type FILE
public static final Component.Type VIEW
public static final Component.Type SUBVIEW
public static Component.Type[] values()
for (Component.Type c : Component.Type.values()) System.out.println(c);
public static Component.Type 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 null