public enum VisitHint extends Enum<VisitHint>
An enum that specifies hints that impact the behavior of a component tree visit.
Enum Constant and Description |
---|
EXECUTE_LIFECYCLE
Hint that indicates that the visit is being performed as part of lifecycle phase execution. |
SKIP_ITERATION
Hint that indicates that components that normally visit children multiple times (eg. |
SKIP_TRANSIENT
Hint that indicates that only non-transient subtrees should be visited. |
SKIP_UNRENDERED
Hint that indicates that only the rendered subtrees should be visited. |
Modifier and Type | Method and Description |
---|---|
static VisitHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisitHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisitHint SKIP_UNRENDERED
Hint that indicates that only the rendered subtrees should be visited.
public static final VisitHint SKIP_TRANSIENT
Hint that indicates that only non-transient subtrees should be visited.
public static final VisitHint SKIP_ITERATION
Hint that indicates that components
that normally visit children multiple times (eg. UIData
)
in an iterative fashion should instead visit each child only one time.
public static final VisitHint EXECUTE_LIFECYCLE
Hint that indicates that the visit is being performed as part of lifecycle phase execution.
public static VisitHint[] values()
for (VisitHint c : VisitHint.values()) System.out.println(c);
public static VisitHint 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 © 2019 Eclipse Foundation.
Use is subject to license terms.