public enum GWTWorkspaceItemType extends Enum<GWTWorkspaceItemType> implements GWTItemDescription
Enum Constant and Description |
---|
FOLDER |
FOLDER_ITEM |
Modifier and Type | Field and Description |
---|---|
protected String |
iconClass |
protected String |
label |
Modifier and Type | Method and Description |
---|---|
String |
getIconClass() |
String |
getLabel() |
static GWTWorkspaceItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GWTWorkspaceItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GWTWorkspaceItemType FOLDER
public static final GWTWorkspaceItemType FOLDER_ITEM
public static GWTWorkspaceItemType[] values()
for (GWTWorkspaceItemType c : GWTWorkspaceItemType.values()) System.out.println(c);
public static GWTWorkspaceItemType 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 nullpublic String getIconClass()
getIconClass
in interface GWTItemDescription
public String getLabel()
getLabel
in interface GWTItemDescription
Copyright © 2016. All Rights Reserved.