|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sequence.Tree.Path | |
---|---|
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 | |
---|---|
static class |
Sequence.Tree.ImmutablePath
Class representing an immutable path. |
Methods in org.apache.pivot.collections that return Sequence.Tree.Path | ||
---|---|---|
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 to next(). |
|
static
|
Sequence.Tree.pathOf(Sequence<T> sequence,
T item)
Returns the path to an item in a nested sequence. |
|
static
|
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 | ||
---|---|---|
static
|
Sequence.Tree.add(Sequence<T> sequence,
T item,
Sequence.Tree.Path path)
Adds an item to a nested sequence. |
|
static
|
Sequence.Tree.get(Sequence<T> sequence,
Sequence.Tree.Path path)
Retrieves an item from a nested sequence. |
|
static
|
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
|
Sequence.Tree.remove(Sequence<T> sequence,
Sequence.Tree.Path path,
int count)
Removes an item from a nested sequence. |
|
static
|
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 | |
---|---|
Sequence.Tree.ImmutablePath(Sequence.Tree.Path path)
|
|
Sequence.Tree.Path(Sequence.Tree.Path path)
|
|
Sequence.Tree.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 | |
---|---|
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 | |
---|---|
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)
|
Methods in org.apache.pivot.wtk with parameters of type Sequence.Tree.Path | |
---|---|
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.branchCollapsed(TreeView treeView,
Sequence.Tree.Path path)
Called when a tree node is collapsed. |
void |
TreeViewBranchListener.Adapter.branchCollapsed(TreeView treeView,
Sequence.Tree.Path path)
|
void |
TreeViewBranchListener.branchExpanded(TreeView treeView,
Sequence.Tree.Path path)
Called when a tree node is expanded. |
void |
TreeViewBranchListener.Adapter.branchExpanded(TreeView treeView,
Sequence.Tree.Path path)
|
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. |
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.nodeCheckStateChanged(TreeView treeView,
Sequence.Tree.Path path,
TreeView.NodeCheckState previousCheckState)
Called when a node's checked state has changed. |
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.nodeInserted(TreeView treeView,
Sequence.Tree.Path path,
int index)
|
void |
TreeViewNodeListener.nodesCleared(TreeView treeView,
Sequence.Tree.Path path)
Called when the nodes in a branch have been cleared. |
void |
TreeViewNodeListener.Adapter.nodesCleared(TreeView treeView,
Sequence.Tree.Path path)
|
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.nodesRemoved(TreeView treeView,
Sequence.Tree.Path path,
int index,
int count)
|
void |
TreeViewNodeListener.nodesSorted(TreeView treeView,
Sequence.Tree.Path path)
Called when the nodes in a branch have been sorted. |
void |
TreeViewNodeListener.Adapter.nodesSorted(TreeView treeView,
Sequence.Tree.Path path)
|
void |
TreeViewNodeListener.nodeUpdated(TreeView treeView,
Sequence.Tree.Path path,
int index)
Called when a node in the tree view has been updated. |
void |
TreeViewNodeListener.Adapter.nodeUpdated(TreeView treeView,
Sequence.Tree.Path path,
int index)
|
boolean |
TreeView.removeSelectedPath(Sequence.Tree.Path path)
Removes a path from the selection. |
void |
TreeView.NodeRenderer.render(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.selectedPathAdded(TreeView treeView,
Sequence.Tree.Path path)
Called when a selected path has been added to a tree view. |
void |
TreeViewSelectionListener.Adapter.selectedPathAdded(TreeView treeView,
Sequence.Tree.Path path)
|
void |
TreeViewSelectionListener.selectedPathRemoved(TreeView treeView,
Sequence.Tree.Path path)
Called when a selected path has been removed from a tree view. |
void |
TreeViewSelectionListener.Adapter.selectedPathRemoved(TreeView treeView,
Sequence.Tree.Path path)
|
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)
|
Method parameters in org.apache.pivot.wtk with type arguments of type Sequence.Tree.Path | |
---|---|
void |
TreeViewSelectionListener.selectedPathsChanged(TreeView treeView,
Sequence<Sequence.Tree.Path> previousSelectedPaths)
Called when a tree view's selection state has been reset. |
void |
TreeViewSelectionListener.Adapter.selectedPathsChanged(TreeView treeView,
Sequence<Sequence.Tree.Path> previousSelectedPaths)
|
Sequence<Sequence.Tree.Path> |
TreeView.setSelectedPaths(Sequence<Sequence.Tree.Path> selectedPaths)
|
Uses of Sequence.Tree.Path in org.apache.pivot.wtk.content |
---|
Methods in org.apache.pivot.wtk.content that return Sequence.Tree.Path | |
---|---|
Sequence.Tree.Path |
TreeViewNodeEditor.getPath()
|
Methods in org.apache.pivot.wtk.content with parameters of type Sequence.Tree.Path | |
---|---|
void |
TreeViewNodeEditor.beginEdit(TreeView treeViewArgument,
Sequence.Tree.Path pathArgument)
|
void |
TreeViewNodeRenderer.render(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 | |
---|---|
Sequence.Tree.Path |
TerraTreeViewSkin.getNodeAt(int y)
|
Sequence.Tree.Path |
TerraTreeViewSkin.VisibleNodeIterator.getPath()
Gets the path of the node last returned by a call to TerraTreeViewSkin.VisibleNodeIterator.next() . |
Sequence.Tree.Path |
TerraTreeViewSkin.NodeInfo.getPath()
|
Methods in org.apache.pivot.wtk.skin.terra with parameters of type Sequence.Tree.Path | |
---|---|
void |
TerraTreeViewSkin.branchCollapsed(TreeView treeView,
Sequence.Tree.Path path)
|
void |
TerraTreeViewSkin.branchExpanded(TreeView treeView,
Sequence.Tree.Path path)
|
Bounds |
TerraTreeViewSkin.getNodeBounds(Sequence.Tree.Path path)
|
protected TerraTreeViewSkin.NodeInfo |
TerraTreeViewSkin.getNodeInfoAt(Sequence.Tree.Path path)
Gets the metadata associated with the node at the specified 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)
|
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 | |
---|---|
void |
TerraTreeViewSkin.selectedPathsChanged(TreeView treeView,
Sequence<Sequence.Tree.Path> previousSelectedPaths)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |