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 class
Sequence.Tree.ImmutablePath
Class representing an immutable path.Methods in org.apache.pivot.collections that return Sequence.Tree.Path Modifier and Type Method Description static Sequence.Tree.Path
Sequence.Tree.Path. forDepth(int depth)
Sequence.Tree.Path
Sequence.Tree.ItemIterator. getPath()
Gets the path within the nested sequence to the item most recently returned by a call tonext()
.static <T> Sequence.Tree.Path
Sequence.Tree. pathOf(Sequence<T> sequence, T item)
Returns the path to an item in a nested sequence.static <T> Sequence.Tree.Path
Sequence.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> int
Sequence.Tree. add(Sequence<T> sequence, T item, Sequence.Tree.Path path)
Adds an item to a nested sequence.static <T> T
Sequence.Tree. get(Sequence<T> sequence, Sequence.Tree.Path path)
Retrieves an item from a nested sequence.static <T> void
Sequence.Tree. insert(Sequence<T> sequence, T item, Sequence.Tree.Path path, int index)
Inserts an item into a nested sequence.static boolean
Sequence.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> T
Sequence.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.Path
TreeView. getFirstSelectedPath()
Returns the first selected path, as it would appear in a fully expanded tree.Sequence.Tree.Path
TreeView. getLastSelectedPath()
Returns the last selected path, as it would appear in a fully expanded tree.Sequence.Tree.Path
TreeView. getNodeAt(int y)
Gets the path to the node found at the specified y-coordinate (relative to the tree view).Sequence.Tree.Path
TreeView.Skin. getNodeAt(int y)
Gets the path to the node found at the specified y-coordinate (relative to the tree view).Sequence.Tree.Path
TreeView. 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 boolean
TreeView. addSelectedPath(Sequence.Tree.Path path)
Adds a path to the selection.void
TreeView.NodeEditor. beginEdit(TreeView treeView, Sequence.Tree.Path path)
Called to begin editing a tree node.void
TreeViewBranchListener.Adapter. branchCollapsed(TreeView treeView, Sequence.Tree.Path path)
Deprecated.default void
TreeViewBranchListener. branchCollapsed(TreeView treeView, Sequence.Tree.Path path)
Called when a tree node is collapsed.void
TreeViewBranchListener.Listeners. branchCollapsed(TreeView treeView, Sequence.Tree.Path path)
void
TreeViewBranchListener.Adapter. branchExpanded(TreeView treeView, Sequence.Tree.Path path)
Deprecated.default void
TreeViewBranchListener. branchExpanded(TreeView treeView, Sequence.Tree.Path path)
Called when a tree node is expanded.void
TreeViewBranchListener.Listeners. branchExpanded(TreeView treeView, Sequence.Tree.Path path)
void
TreeViewBranchListener.Adapter. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)
Deprecated.default void
TreeViewBranchListener. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)
Called when thepreviewBranchExpandedChange()
tally produces anything but aVote.APPROVE
result (to say NOT to expand or collapse the branch).void
TreeViewBranchListener.Listeners. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)
void
TreeView. collapseBranch(Sequence.Tree.Path path)
Collapses the branch at the specified path.int
TreeView.PathComparator. compare(Sequence.Tree.Path path1, Sequence.Tree.Path path2)
void
TreeView. expandBranch(Sequence.Tree.Path path)
Expands the branch at the specified path.void
TreeView. expandToBranch(Sequence.Tree.Path path)
Expand "to" the given branch, which means opening up all the parents so that this branch is exposed.Bounds
TreeView. getNodeBounds(Sequence.Tree.Path path)
Gets the bounds of the node at the specified path relative to the tree view.Bounds
TreeView.Skin. getNodeBounds(Sequence.Tree.Path path)
Gets the bounds of the node at the specified path relative to the tree view.TreeView.NodeCheckState
TreeView. getNodeCheckState(Sequence.Tree.Path path)
Returns the checkmark state of the node at the specified path.int
TreeView. getRowIndex(Sequence.Tree.Path path)
Gets the row index of the node, as seen in the current visible nodes list.int
TreeView.Skin. getRowIndex(Sequence.Tree.Path path)
Gets the row index of the node, as seen in the current visible nodes list.boolean
TreeView. isBranchExpanded(Sequence.Tree.Path path)
Tells whether or not the specified branch is expanded.boolean
TreeView. isNodeChecked(Sequence.Tree.Path path)
Tells whether or not the node at the specified path is checked.boolean
TreeView. isNodeDisabled(Sequence.Tree.Path path)
Returns the disabled state of a given node.boolean
TreeView. isNodeSelected(Sequence.Tree.Path path)
void
TreeViewNodeStateListener.Listeners. nodeCheckStateChanged(TreeView treeView, Sequence.Tree.Path path, TreeView.NodeCheckState previousCheckState)
void
TreeViewNodeStateListener. nodeCheckStateChanged(TreeView treeView, Sequence.Tree.Path path, TreeView.NodeCheckState previousCheckState)
Called when a node's checked state has changed.void
TreeViewNodeListener.Adapter. nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)
Deprecated.void
TreeViewNodeListener.Listeners. nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)
default void
TreeViewNodeListener. nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)
Called when a node has been inserted into the tree view.void
TreeViewNodeListener.Adapter. nodesCleared(TreeView treeView, Sequence.Tree.Path path)
Deprecated.void
TreeViewNodeListener.Listeners. nodesCleared(TreeView treeView, Sequence.Tree.Path path)
default void
TreeViewNodeListener. nodesCleared(TreeView treeView, Sequence.Tree.Path path)
Called when the nodes in a branch have been cleared.void
TreeViewNodeListener.Adapter. nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)
Deprecated.void
TreeViewNodeListener.Listeners. nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)
default void
TreeViewNodeListener. nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)
Called when nodes have been removed from the tree view.void
TreeViewNodeListener.Adapter. nodesSorted(TreeView treeView, Sequence.Tree.Path path)
Deprecated.void
TreeViewNodeListener.Listeners. nodesSorted(TreeView treeView, Sequence.Tree.Path path)
default void
TreeViewNodeListener. nodesSorted(TreeView treeView, Sequence.Tree.Path path)
Called when the nodes in a branch have been sorted.void
TreeViewNodeListener.Adapter. nodeUpdated(TreeView treeView, Sequence.Tree.Path path, int index)
Deprecated.void
TreeViewNodeListener.Listeners. nodeUpdated(TreeView treeView, Sequence.Tree.Path path, int index)
default void
TreeViewNodeListener. nodeUpdated(TreeView treeView, Sequence.Tree.Path path, int index)
Called when a node in the tree view has been updated.Vote
TreeViewBranchListener.Adapter. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)
Deprecated.Vote
TreeViewBranchListener.Listeners. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)
default Vote
TreeViewBranchListener. 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.boolean
TreeView. removeSelectedPath(Sequence.Tree.Path path)
Removes a path from the selection.void
TreeView.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.void
TreeViewSelectionListener.Adapter. selectedPathAdded(TreeView treeView, Sequence.Tree.Path path)
Deprecated.void
TreeViewSelectionListener.Listeners. selectedPathAdded(TreeView treeView, Sequence.Tree.Path path)
default void
TreeViewSelectionListener. selectedPathAdded(TreeView treeView, Sequence.Tree.Path path)
Called when a selected path has been added to a tree view.void
TreeViewSelectionListener.Adapter. selectedPathRemoved(TreeView treeView, Sequence.Tree.Path path)
Deprecated.void
TreeViewSelectionListener.Listeners. selectedPathRemoved(TreeView treeView, Sequence.Tree.Path path)
default void
TreeViewSelectionListener. selectedPathRemoved(TreeView treeView, Sequence.Tree.Path path)
Called when a selected path has been removed from a tree view.void
TreeView. setBranchExpanded(Sequence.Tree.Path path, boolean expanded)
Sets the expansion state of the specified branch.void
TreeView. setNodeChecked(Sequence.Tree.Path path, boolean checked)
Sets the check state of the node at the specified path.void
TreeView. 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 void
TreeViewSelectionListener.Adapter. selectedPathsChanged(TreeView treeView, Sequence<Sequence.Tree.Path> previousSelectedPaths)
Deprecated.void
TreeViewSelectionListener.Listeners. selectedPathsChanged(TreeView treeView, Sequence<Sequence.Tree.Path> previousSelectedPaths)
default void
TreeViewSelectionListener. 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.Path
TreeViewNodeEditor. getPath()
Methods in org.apache.pivot.wtk.content with parameters of type Sequence.Tree.Path Modifier and Type Method Description void
TreeViewNodeEditor. beginEdit(TreeView treeViewArgument, Sequence.Tree.Path pathArgument)
void
TreeViewNodeRenderer. 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.Path
TerraTreeViewSkin. getNodeAt(int y)
Sequence.Tree.Path
TerraTreeViewSkin.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 void
TerraTreeViewSkin. branchCollapsed(TreeView treeView, Sequence.Tree.Path path)
void
TerraTreeViewSkin. branchExpanded(TreeView treeView, Sequence.Tree.Path path)
void
TerraTreeViewSkin. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)
protected org.apache.pivot.wtk.skin.terra.TerraTreeViewSkin.BranchInfo
TerraTreeViewSkin. getBranchInfoAt(Sequence.Tree.Path path)
Bounds
TerraTreeViewSkin. getNodeBounds(Sequence.Tree.Path path)
protected org.apache.pivot.wtk.skin.terra.TerraTreeViewSkin.NodeInfo
TerraTreeViewSkin. getNodeInfoAt(Sequence.Tree.Path path)
int
TerraTreeViewSkin. getRowIndex(Sequence.Tree.Path path)
void
TerraTreeViewSkin. nodeCheckStateChanged(TreeView treeView, Sequence.Tree.Path path, TreeView.NodeCheckState previousCheckState)
void
TerraTreeViewSkin. nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)
void
TerraTreeViewSkin. nodesCleared(TreeView treeView, Sequence.Tree.Path path)
void
TerraTreeViewSkin. nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)
void
TerraTreeViewSkin. nodesSorted(TreeView treeView, Sequence.Tree.Path path)
void
TerraTreeViewSkin. nodeUpdated(TreeView treeView, Sequence.Tree.Path path, int index)
Vote
TerraTreeViewSkin. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)
void
TerraTreeViewSkin. selectedPathAdded(TreeView treeView, Sequence.Tree.Path path)
void
TerraTreeViewSkin. 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 void
TerraTreeViewSkin. selectedPathsChanged(TreeView treeView, Sequence<Sequence.Tree.Path> previousSelectedPaths)
-