use of org.apache.wicket.MarkupContainer in project midpoint by Evolveum.
the class WebComponentUtil method debugDumpComponentTree.
private static void debugDumpComponentTree(StringBuilder sb, Component c, int level) {
DebugUtil.indentDebugDump(sb, level);
sb.append(c).append("\n");
if (c instanceof MarkupContainer) {
for (Component sub : (MarkupContainer) c) {
debugDumpComponentTree(sb, sub, level + 1);
}
}
}
use of org.apache.wicket.MarkupContainer in project wiquery by WiQuery.
the class ChildMatches method matches.
@Override
public boolean matches(Component component) {
// alleen markupcontainers hebben kinderen
if (component instanceof MarkupContainer) {
MarkupContainer container = (MarkupContainer) component;
ChildMatchingVisitor visitor = new ChildMatchingVisitor();
container.visitChildren(visitor);
return visitor.matches;
}
return false;
}
Aggregations