public enum Traversal extends Enum<Traversal>
Enum Constant and Description |
---|
TOP_DOWN
The traversal is started from the page level then components and components' children until the
target is found or no more components left.
|
UP
Bubble-up traversal.
|
Modifier and Type | Method and Description |
---|---|
static Traversal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Traversal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Traversal UP
public static final Traversal TOP_DOWN
public static Traversal[] values()
for (Traversal c : Traversal.values()) System.out.println(c);
public static Traversal 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.