|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DisplayNodeType>
com.smartgwt.client.types.DisplayNodeType
public enum DisplayNodeType
Flag passed to functions as displayNodeType, telling the function whether it should work on folders, leaves or both at once.
Enum Constant Summary | |
---|---|
FOLDERS
operate on folders only, ignoring leaves |
|
LEAVES
operate on leaves only, ignoring folders |
|
NULL
operate on both folders and leaves |
Method Summary | |
---|---|
String |
getValue()
|
static DisplayNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DisplayNodeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DisplayNodeType NULL
public static final DisplayNodeType FOLDERS
public static final DisplayNodeType LEAVES
Method Detail |
---|
public static DisplayNodeType[] values()
for (DisplayNodeType c : DisplayNodeType.values()) System.out.println(c);
public static DisplayNodeType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getValue()
getValue
in interface ValueEnum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |