com.airlenet.repo.domain.Tree Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of play-repo Show documentation
Show all versions of play-repo Show documentation
The Repository of Play Framework.
The newest version!
package com.airlenet.repo.domain;
import java.util.List;
import java.util.Set;
import java.util.function.Consumer;
public interface Tree> {
List> getRoots();
Set getChecked();
void setChecked(Set checked);
boolean isCheckable();
boolean isExpandAll();
void makeCheckable();
void makeExpandAll();
Tree setTextProperty(String textProperty);
Tree setIconClsProperty(String iconClsProperty);
static void visitNodes(List extends Node>> nodes, Consumer> consumer) {
if (nodes != null) {
nodes.forEach((node) -> {
consumer.accept(node);
visitNodes(node.getChildren(), consumer);
});
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy