public enum ItemType extends Enum<ItemType>
Enum Constant and Description |
---|
BOOL
布尔项目类型
|
BUTTON
按钮项目类型
|
HIERARCHY
层级结构项目类型
|
IMAGE
图像项目类型
|
LINK
链接项目类型
|
TEXT
文本项目类型
|
Modifier and Type | Method and Description |
---|---|
static ItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemType HIERARCHY
public static final ItemType IMAGE
public static final ItemType TEXT
public static final ItemType BOOL
public static final ItemType BUTTON
public static final ItemType LINK
public static ItemType[] values()
for (ItemType c : ItemType.values()) System.out.println(c);
public static ItemType 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 2009-2012 Micro Focus. All Rights Reserved.