Uses of Class
org.apache.pivot.collections.Sequence.Tree.Path
-
Packages that use Sequence.Tree.Path Package Description org.apache.pivot.collections Defines a set of classes and interfaces that serve as generic collections as well as the data model for UI components.org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components.org.apache.pivot.wtk.content Contains classes representing component data, such as list items or table rows.org.apache.pivot.wtk.skin.terra Defines skin classes for the "Terra" theme. -
-
Uses of Sequence.Tree.Path in org.apache.pivot.collections
Subclasses of Sequence.Tree.Path in org.apache.pivot.collections Modifier and Type Class Description static classSequence.Tree.ImmutablePathClass representing an immutable path.Methods in org.apache.pivot.collections that return Sequence.Tree.Path Modifier and Type Method Description static Sequence.Tree.PathSequence.Tree.Path. forDepth(int depth)Sequence.Tree.PathSequence.Tree.ItemIterator. getPath()Gets the path within the nested sequence to the item most recently returned by a call tonext().static <T> Sequence.Tree.PathSequence.Tree. pathOf(Sequence<T> sequence, T item)Returns the path to an item in a nested sequence.static <T> Sequence.Tree.PathSequence.Tree. remove(Sequence<T> sequence, T item)Removes the first occurrence of an item from a nested sequence.Methods in org.apache.pivot.collections with parameters of type Sequence.Tree.Path Modifier and Type Method Description static <T> intSequence.Tree. add(Sequence<T> sequence, T item, Sequence.Tree.Path path)Adds an item to a nested sequence.static <T> TSequence.Tree. get(Sequence<T> sequence, Sequence.Tree.Path path)Retrieves an item from a nested sequence.static <T> voidSequence.Tree. insert(Sequence<T> sequence, T item, Sequence.Tree.Path path, int index)Inserts an item into a nested sequence.static booleanSequence.Tree. isDescendant(Sequence.Tree.Path ancestorPath, Sequence.Tree.Path descendantPath)Determines whether the path represented by the second argument is a descendant of the path represented by the first argument.static <T> Sequence<T>Sequence.Tree. remove(Sequence<T> sequence, Sequence.Tree.Path path, int count)Removes items from a nested sequence.static <T> TSequence.Tree. update(Sequence<T> sequence, Sequence.Tree.Path path, T item)Updates an item in a nested sequence.Constructors in org.apache.pivot.collections with parameters of type Sequence.Tree.Path Constructor Description ImmutablePath(Sequence.Tree.Path path)Path(Sequence.Tree.Path path)Path(Sequence.Tree.Path path, int depth) -
Uses of Sequence.Tree.Path in org.apache.pivot.wtk
Methods in org.apache.pivot.wtk that return Sequence.Tree.Path Modifier and Type Method Description Sequence.Tree.PathTreeView. getFirstSelectedPath()Returns the first selected path, as it would appear in a fully expanded tree.Sequence.Tree.PathTreeView. getLastSelectedPath()Returns the last selected path, as it would appear in a fully expanded tree.Sequence.Tree.PathTreeView. getNodeAt(int y)Gets the path to the node found at the specified y-coordinate (relative to the tree view).Sequence.Tree.PathTreeView.Skin. getNodeAt(int y)Gets the path to the node found at the specified y-coordinate (relative to the tree view).Sequence.Tree.PathTreeView. getSelectedPath()Returns the currently selected index, even when in multi-select mode.Methods in org.apache.pivot.wtk that return types with arguments of type Sequence.Tree.Path Modifier and Type Method Description Sequence<Sequence.Tree.Path>TreeView. getCheckedPaths()Gets the sequence of node paths that are checked.ImmutableList<Sequence.Tree.Path>TreeView. getSelectedPaths()Returns the currently selected paths.Sequence<Sequence.Tree.Path>TreeView. setSelectedPaths(Sequence<Sequence.Tree.Path> selectedPaths)Set the new selected nodes in the tree.Methods in org.apache.pivot.wtk with parameters of type Sequence.Tree.Path Modifier and Type Method Description booleanTreeView. addSelectedPath(Sequence.Tree.Path path)Adds a path to the selection.voidTreeView.NodeEditor. beginEdit(TreeView treeView, Sequence.Tree.Path path)Called to begin editing a tree node.voidTreeViewBranchListener.Adapter. branchCollapsed(TreeView treeView, Sequence.Tree.Path path)Deprecated.default voidTreeViewBranchListener. branchCollapsed(TreeView treeView, Sequence.Tree.Path path)Called when a tree node is collapsed.voidTreeViewBranchListener.Listeners. branchCollapsed(TreeView treeView, Sequence.Tree.Path path)voidTreeViewBranchListener.Adapter. branchExpanded(TreeView treeView, Sequence.Tree.Path path)Deprecated.default voidTreeViewBranchListener. branchExpanded(TreeView treeView, Sequence.Tree.Path path)Called when a tree node is expanded.voidTreeViewBranchListener.Listeners. branchExpanded(TreeView treeView, Sequence.Tree.Path path)voidTreeViewBranchListener.Adapter. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)Deprecated.default voidTreeViewBranchListener. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)Called when thepreviewBranchExpandedChange()tally produces anything but aVote.APPROVEresult (to say NOT to expand or collapse the branch).voidTreeViewBranchListener.Listeners. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)voidTreeView. collapseBranch(Sequence.Tree.Path path)Collapses the branch at the specified path.intTreeView.PathComparator. compare(Sequence.Tree.Path path1, Sequence.Tree.Path path2)voidTreeView. expandBranch(Sequence.Tree.Path path)Expands the branch at the specified path.voidTreeView. expandToBranch(Sequence.Tree.Path path)Expand "to" the given branch, which means opening up all the parents so that this branch is exposed.BoundsTreeView. getNodeBounds(Sequence.Tree.Path path)Gets the bounds of the node at the specified path relative to the tree view.BoundsTreeView.Skin. getNodeBounds(Sequence.Tree.Path path)Gets the bounds of the node at the specified path relative to the tree view.TreeView.NodeCheckStateTreeView. getNodeCheckState(Sequence.Tree.Path path)Returns the checkmark state of the node at the specified path.intTreeView. getRowIndex(Sequence.Tree.Path path)Gets the row index of the node, as seen in the current visible nodes list.intTreeView.Skin. getRowIndex(Sequence.Tree.Path path)Gets the row index of the node, as seen in the current visible nodes list.booleanTreeView. isBranchExpanded(Sequence.Tree.Path path)Tells whether or not the specified branch is expanded.booleanTreeView. isNodeChecked(Sequence.Tree.Path path)Tells whether or not the node at the specified path is checked.booleanTreeView. isNodeDisabled(Sequence.Tree.Path path)Returns the disabled state of a given node.booleanTreeView. isNodeSelected(Sequence.Tree.Path path)voidTreeViewNodeStateListener.Listeners. nodeCheckStateChanged(TreeView treeView, Sequence.Tree.Path path, TreeView.NodeCheckState previousCheckState)voidTreeViewNodeStateListener. nodeCheckStateChanged(TreeView treeView, Sequence.Tree.Path path, TreeView.NodeCheckState previousCheckState)Called when a node's checked state has changed.voidTreeViewNodeListener.Adapter. nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)Deprecated.voidTreeViewNodeListener.Listeners. nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)default voidTreeViewNodeListener. nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)Called when a node has been inserted into the tree view.voidTreeViewNodeListener.Adapter. nodesCleared(TreeView treeView, Sequence.Tree.Path path)Deprecated.voidTreeViewNodeListener.Listeners. nodesCleared(TreeView treeView, Sequence.Tree.Path path)default voidTreeViewNodeListener. nodesCleared(TreeView treeView, Sequence.Tree.Path path)Called when the nodes in a branch have been cleared.voidTreeViewNodeListener.Adapter. nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)Deprecated.voidTreeViewNodeListener.Listeners. nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)default voidTreeViewNodeListener. nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)Called when nodes have been removed from the tree view.voidTreeViewNodeListener.Adapter. nodesSorted(TreeView treeView, Sequence.Tree.Path path)Deprecated.voidTreeViewNodeListener.Listeners. nodesSorted(TreeView treeView, Sequence.Tree.Path path)default voidTreeViewNodeListener. nodesSorted(TreeView treeView, Sequence.Tree.Path path)Called when the nodes in a branch have been sorted.voidTreeViewNodeListener.Adapter. nodeUpdated(TreeView treeView, Sequence.Tree.Path path, int index)Deprecated.voidTreeViewNodeListener.Listeners. nodeUpdated(TreeView treeView, Sequence.Tree.Path path, int index)default voidTreeViewNodeListener. nodeUpdated(TreeView treeView, Sequence.Tree.Path path, int index)Called when a node in the tree view has been updated.VoteTreeViewBranchListener.Adapter. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)Deprecated.VoteTreeViewBranchListener.Listeners. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)default VoteTreeViewBranchListener. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)Called before a tree node is expanded or collapsed to allow the application or the skin to refuse the operation.booleanTreeView. removeSelectedPath(Sequence.Tree.Path path)Removes a path from the selection.voidTreeView.NodeRenderer. render(java.lang.Object node, Sequence.Tree.Path path, int rowIndex, TreeView treeView, boolean expanded, boolean selected, TreeView.NodeCheckState checkState, boolean highlighted, boolean disabled)Prepares the renderer for layout or paint.voidTreeViewSelectionListener.Adapter. selectedPathAdded(TreeView treeView, Sequence.Tree.Path path)Deprecated.voidTreeViewSelectionListener.Listeners. selectedPathAdded(TreeView treeView, Sequence.Tree.Path path)default voidTreeViewSelectionListener. selectedPathAdded(TreeView treeView, Sequence.Tree.Path path)Called when a selected path has been added to a tree view.voidTreeViewSelectionListener.Adapter. selectedPathRemoved(TreeView treeView, Sequence.Tree.Path path)Deprecated.voidTreeViewSelectionListener.Listeners. selectedPathRemoved(TreeView treeView, Sequence.Tree.Path path)default voidTreeViewSelectionListener. selectedPathRemoved(TreeView treeView, Sequence.Tree.Path path)Called when a selected path has been removed from a tree view.voidTreeView. setBranchExpanded(Sequence.Tree.Path path, boolean expanded)Sets the expansion state of the specified branch.voidTreeView. setNodeChecked(Sequence.Tree.Path path, boolean checked)Sets the check state of the node at the specified path.voidTreeView. setSelectedPath(Sequence.Tree.Path path)Set the single selected path.Method parameters in org.apache.pivot.wtk with type arguments of type Sequence.Tree.Path Modifier and Type Method Description voidTreeViewSelectionListener.Adapter. selectedPathsChanged(TreeView treeView, Sequence<Sequence.Tree.Path> previousSelectedPaths)Deprecated.voidTreeViewSelectionListener.Listeners. selectedPathsChanged(TreeView treeView, Sequence<Sequence.Tree.Path> previousSelectedPaths)default voidTreeViewSelectionListener. selectedPathsChanged(TreeView treeView, Sequence<Sequence.Tree.Path> previousSelectedPaths)Called when a tree view's selection state has been reset.Sequence<Sequence.Tree.Path>TreeView. setSelectedPaths(Sequence<Sequence.Tree.Path> selectedPaths)Set the new selected nodes in the tree. -
Uses of Sequence.Tree.Path in org.apache.pivot.wtk.content
Methods in org.apache.pivot.wtk.content that return Sequence.Tree.Path Modifier and Type Method Description Sequence.Tree.PathTreeViewNodeEditor. getPath()Methods in org.apache.pivot.wtk.content with parameters of type Sequence.Tree.Path Modifier and Type Method Description voidTreeViewNodeEditor. beginEdit(TreeView treeViewArgument, Sequence.Tree.Path pathArgument)voidTreeViewNodeRenderer. render(java.lang.Object node, Sequence.Tree.Path path, int rowIndex, TreeView treeView, boolean expanded, boolean selected, TreeView.NodeCheckState checkState, boolean highlighted, boolean disabled) -
Uses of Sequence.Tree.Path in org.apache.pivot.wtk.skin.terra
Methods in org.apache.pivot.wtk.skin.terra that return Sequence.Tree.Path Modifier and Type Method Description Sequence.Tree.PathTerraTreeViewSkin. getNodeAt(int y)Sequence.Tree.PathTerraTreeViewSkin.VisibleNodeIterator. getPath()Gets the path of the node last returned by a call toTerraTreeViewSkin.VisibleNodeIterator.next().Methods in org.apache.pivot.wtk.skin.terra with parameters of type Sequence.Tree.Path Modifier and Type Method Description voidTerraTreeViewSkin. branchCollapsed(TreeView treeView, Sequence.Tree.Path path)voidTerraTreeViewSkin. branchExpanded(TreeView treeView, Sequence.Tree.Path path)voidTerraTreeViewSkin. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)protected org.apache.pivot.wtk.skin.terra.TerraTreeViewSkin.BranchInfoTerraTreeViewSkin. getBranchInfoAt(Sequence.Tree.Path path)BoundsTerraTreeViewSkin. getNodeBounds(Sequence.Tree.Path path)protected org.apache.pivot.wtk.skin.terra.TerraTreeViewSkin.NodeInfoTerraTreeViewSkin. getNodeInfoAt(Sequence.Tree.Path path)intTerraTreeViewSkin. getRowIndex(Sequence.Tree.Path path)voidTerraTreeViewSkin. nodeCheckStateChanged(TreeView treeView, Sequence.Tree.Path path, TreeView.NodeCheckState previousCheckState)voidTerraTreeViewSkin. nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)voidTerraTreeViewSkin. nodesCleared(TreeView treeView, Sequence.Tree.Path path)voidTerraTreeViewSkin. nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)voidTerraTreeViewSkin. nodesSorted(TreeView treeView, Sequence.Tree.Path path)voidTerraTreeViewSkin. nodeUpdated(TreeView treeView, Sequence.Tree.Path path, int index)VoteTerraTreeViewSkin. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)voidTerraTreeViewSkin. selectedPathAdded(TreeView treeView, Sequence.Tree.Path path)voidTerraTreeViewSkin. selectedPathRemoved(TreeView treeView, Sequence.Tree.Path path)Method parameters in org.apache.pivot.wtk.skin.terra with type arguments of type Sequence.Tree.Path Modifier and Type Method Description voidTerraTreeViewSkin. selectedPathsChanged(TreeView treeView, Sequence<Sequence.Tree.Path> previousSelectedPaths)
-