
de.lessvoid.nifty.controls.TreeBox Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package de.lessvoid.nifty.controls;
import javax.annotation.Nonnull;
/**
* This is the interface of the tree box control. Basically is a {@link ListBox} with some additions to display a tree.
*
* @author Martin Karing <[email protected]>
*/
public interface TreeBox extends ListBox> {
/**
* Set the tree that is supposed to be displayed.
*
* The root node of the tree will NOT be displayed. Only the children of this node are visible.
*
* @param treeRoot the root node of the tree
*/
void setTree(@Nonnull TreeItem treeRoot);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy