com.ui4j.spi.NodeUnbindVisitor Maven / Gradle / Ivy
package com.ui4j.spi;
import com.ui4j.api.dom.Node;
import com.ui4j.api.util.NodeVisitor;
public class NodeUnbindVisitor extends NodeVisitor {
private PageContext context;
public NodeUnbindVisitor(PageContext context, Node root) {
super(root);
this.context = context;
}
@Override
public void visit(Node child) {
if (child != null && child.isHtmlElement()) {
context.getEventManager().unbind(child);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy