All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.webfolder.ui4j.spi.NodeUnbindVisitor Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
package io.webfolder.ui4j.spi;

import io.webfolder.ui4j.api.dom.Node;
import io.webfolder.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