Uses of Class
com.jbstrap.ui.components.treeview.TreeviewNode
Package
Description
-
Uses of TreeviewNode in com.jbstrap.ui.components.treeview
Modifier 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 TreeviewNode
TreeviewNode.closeCascade()
Collapses the current node and all its children.Treeview.findByName
(String name) Gets a node by its name.final TreeviewNode
Treeview.findFirst
(Predicate<TreeviewNode> filter) Gets the first node from the component that fulfils the specified criterion.final TreeviewNode
TreeviewNode.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 TreeviewNode
Treeview.getCurrentNode()
Gets the current (highlighted) node.Gets a root node by its namefinal TreeviewNode
TreeviewNode.getParentNode()
Gets the parent of the nodeprotected final TreeviewNode
TreeviewNode.highlightNode
(boolean highlight) Highlights the node.TreeviewNode.open()
Expands the current node and all containing parents.final TreeviewNode
TreeviewNode.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 TreeviewNode
TreeviewNode.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 TreeviewNode
TreeviewNode.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 TreeviewNode
TreeviewNode.setParentNode
(TreeviewNode parent) Sets the parent for the nodefinal TreeviewNode
TreeviewNode.setState
(TreeviewNodeState state) Sets the node state.Sets the node text.final TreeviewNode
TreeviewNode.showContent
(boolean showContent) Displays or hides node content.Modifier 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.Modifier 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 Treeview
Treeview.setCurrentNode
(TreeviewNode node) final TreeviewNode
TreeviewNode.setParentNode
(TreeviewNode parent) Sets the parent for the nodeModifier 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 TreeviewNode
Treeview.findFirst
(Predicate<TreeviewNode> filter) Gets the first node from the component that fulfils the specified criterion.final TreeviewNode
TreeviewNode.findFirst
(Predicate<TreeviewNode> filter) Looks up the first node corresponding to the specified criterion.ModifierConstructorDescriptionTreeviewNode
(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
Modifier and TypeMethodDescriptionTreeviewNodeCreator.createItem
(Record record) The treeview node rendering process.Modifier and TypeMethodDescriptionvoid
TreeviewNodeClickEvent.onNodeClick
(TreeviewNode node) The event is triggered, when the user clicks on a treeview node.void
TreeviewNodeCloseEvent.onNodeClose
(TreeviewNode node) The event is triggered, when a user closes a treeview node.void
TreeviewNodeOpenEvent.onNodeOpen
(TreeviewNode node) The event is triggered, when a user opens a treeview node.void
TreeviewNodeSelectEvent.onNodeSelect
(TreeviewNode node) The event is triggered, when the user selects a node in the treeview component.