Package | Description |
---|---|
org.apache.wicket |
The core Wicket package.
|
org.apache.wicket.util.visit |
Modifier and Type | Method and Description |
---|---|
<R,C extends MarkupContainer> |
Component.visitParents(Class<C> parentClass,
IVisitor<C,R> visitor,
IVisitFilter filter)
Traverses all parent components of the given class in this parentClass, calling the visitor's
visit method at each one.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassVisitFilter
IVisitFilter that restricts visitors to only visiting objects of the specified class |
Modifier and Type | Field and Description |
---|---|
static IVisitFilter |
IVisitFilter.ANY
A visitor filter that allows all objects and their children to be visited
|
Modifier and Type | Method and Description |
---|---|
static <S,R> R |
Visits.visit(Iterable<? super S> container,
IVisitor<S,R> visitor,
IVisitFilter filter)
Visits container and its children pre-order (parent first).
|
static <S,R> R |
Visits.visitChildren(Iterable<? super S> container,
IVisitor<S,R> visitor,
IVisitFilter filter)
Visits children of the specified
Iterable pre-order (parent first). |
static <S,R> R |
Visits.visitPostOrder(Object root,
IVisitor<S,R> visitor,
IVisitFilter filter)
Visits the specified object and any of its children using a post-order (child first)
traversal.
|
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.