Uses of Class
com.jbstrap.ui.components.treeview.TreeviewNode
Packages that use TreeviewNode
Package
Description
-
Uses of TreeviewNode in com.jbstrap.ui.components.treeview
Methods in com.jbstrap.ui.components.treeview that return TreeviewNodeModifier and TypeMethodDescriptionTreeviewNode.addChildNode(TreeviewNode child) Adds a child to the current node.TreeviewNode.addChildNodes(TreeviewNode... children) Adds multiple child nodes to the current node.TreeviewNode.addClickHandler(ClickEventHandler handler) TreeviewNode.addComponent(Component<?> component) TreeviewNode.addDoubleClickHandler(DoubleClickEventHandler handler) TreeviewNode.close()Collapses the node.final TreeviewNodeTreeviewNode.closeCascade()Collapses the current node and all its children.Treeview.findByName(String name) Gets a node by its name.final TreeviewNodeTreeview.findFirst(Predicate<TreeviewNode> filter) Gets the first node from the component that fulfils the specified criterion.final TreeviewNodeTreeviewNode.findFirst(Predicate<TreeviewNode> filter) Looks up the first node corresponding to the specified criterion.TreeviewNode.getChildNode(String name) Gets a child node by its name.final TreeviewNodeTreeview.getCurrentNode()Gets the current (highlighted) node.Gets a root node by its namefinal TreeviewNodeTreeviewNode.getParentNode()Gets the parent of the nodeprotected final TreeviewNodeTreeviewNode.highlightNode(boolean highlight) Highlights the node.TreeviewNode.open()Expands the current node and all containing parents.final TreeviewNodeTreeviewNode.openCascade()Expands the current node and all its children.TreeviewNode.removeChildNode(TreeviewNode node) Removes a child node from the current node.TreeviewNode.removeChildNode(TreeviewNode... nodes) Removes multiple chldren from the current node.TreeviewNode.removeChildNode(String name) Removes a child from the node, referenced by the child node name.TreeviewNode.removeChildNodes(String... names) Removes multiple children from the current node by the specified names.TreeviewNode.removeComponent(Component<?> component) final TreeviewNodeTreeviewNode.select(boolean select) Highlights the nodeTreeviewNode.setChecked(boolean checked) Sets the checkbox state for the current node.TreeviewNode.setCloseIcon(Icon icon) Sets the icon for a collapsed node.TreeviewNode.setCloseIcon(Icon icon, String color) Sets the icon for a collapsed node and its color.final TreeviewNodeTreeviewNode.setCurrent()Sets an icon for the node.Sets an icon and its color for the node.TreeviewNode.setOpenIcon(Icon icon) Sets the icon for an expanded node.TreeviewNode.setOpenIcon(Icon icon, String color) Sets the icon for an expanded node and the icon color.final TreeviewNodeTreeviewNode.setParentNode(TreeviewNode parent) Sets the parent for the nodefinal TreeviewNodeTreeviewNode.setState(TreeviewNodeState state) Sets the node state.Sets the node text.final TreeviewNodeTreeviewNode.showContent(boolean showContent) Displays or hides node content.Methods in com.jbstrap.ui.components.treeview that return types with arguments of type TreeviewNodeModifier and TypeMethodDescriptionfinal List<TreeviewNode>Treeview.find(Predicate<TreeviewNode> filter) Gets all nodes from the component fulfilling the specified predicate.final List<TreeviewNode>TreeviewNode.find(Predicate<TreeviewNode> filter) Gets all children nodes fulfilling the specified predicate.Treeview.findByTitle(String title) Gets nodes from the tree by their title.TreeviewNode.getChildNodes()Gets all children of the current node.Treeview.getNodes()Gets all root nodes not in the componentTreeviewNode.getSelectedChildNodes()Gets all the checked children nodes.Methods in com.jbstrap.ui.components.treeview with parameters of type TreeviewNodeModifier and TypeMethodDescriptionTreeviewNode.addChildNode(TreeviewNode child) Adds a child to the current node.TreeviewNode.addChildNodes(TreeviewNode... children) Adds multiple child nodes to the current node.Treeview.addNode(TreeviewNode node) Adds a node to the treeviewTreeview.addNodes(TreeviewNode... nodes) Adds multiple nodes to the treeview componentTreeviewNode.removeChildNode(TreeviewNode node) Removes a child node from the current node.TreeviewNode.removeChildNode(TreeviewNode... nodes) Removes multiple chldren from the current node.Treeview.removeNode(TreeviewNode node) Removes a root node from the component.Treeview.removeNodes(TreeviewNode... nodes) Removes multiple root nodes from the component.protected TreeviewTreeview.setCurrentNode(TreeviewNode node) final TreeviewNodeTreeviewNode.setParentNode(TreeviewNode parent) Sets the parent for the nodeMethod parameters in com.jbstrap.ui.components.treeview with type arguments of type TreeviewNodeModifier and TypeMethodDescriptionfinal List<TreeviewNode>Treeview.find(Predicate<TreeviewNode> filter) Gets all nodes from the component fulfilling the specified predicate.final List<TreeviewNode>TreeviewNode.find(Predicate<TreeviewNode> filter) Gets all children nodes fulfilling the specified predicate.final TreeviewNodeTreeview.findFirst(Predicate<TreeviewNode> filter) Gets the first node from the component that fulfils the specified criterion.final TreeviewNodeTreeviewNode.findFirst(Predicate<TreeviewNode> filter) Looks up the first node corresponding to the specified criterion.Constructors in com.jbstrap.ui.components.treeview with parameters of type TreeviewNodeModifierConstructorDescriptionTreeviewNode(String name, TreeviewNode parent) Creates a node with the specified name and adds it below the parameter-specified parent node -
Uses of TreeviewNode in com.jbstrap.ui.components.treeview.interfaces
Methods in com.jbstrap.ui.components.treeview.interfaces that return TreeviewNodeModifier and TypeMethodDescriptionTreeviewNodeCreator.createItem(Record record) The treeview node rendering process.Methods in com.jbstrap.ui.components.treeview.interfaces with parameters of type TreeviewNodeModifier and TypeMethodDescriptionvoidTreeviewNodeClickEvent.onNodeClick(TreeviewNode node) The event is triggered, when the user clicks on a treeview node.voidTreeviewNodeCloseEvent.onNodeClose(TreeviewNode node) The event is triggered, when a user closes a treeview node.voidTreeviewNodeOpenEvent.onNodeOpen(TreeviewNode node) The event is triggered, when a user opens a treeview node.voidTreeviewNodeSelectEvent.onNodeSelect(TreeviewNode node) The event is triggered, when the user selects a node in the treeview component.