GNU Classpath (0.95) | |
Frames | No Frames |
Methods with parameter type javax.swing.tree.TreePath | |
Rectangle | Determines the geometric extent of the label that is
drawn for a path.
|
int | Determines in which row a TreePath is currently
being displayed.
|
void | Starts a session to edit a tree cell. |
Methods with return type javax.swing.tree.TreePath | |
TreePath | Finds the path that is closest to the specified position.
|
TreePath | Retrieves the tree cell that is currently being edited.
|
TreePath | Creates a TreePath for the specified row.
|
Constructors with parameter type javax.swing.tree.TreePath | |
Constructor TreeExpansionEvent
| |
Constructor TreeModelEvent
| |
Constructor TreeModelEvent
| |
TreeSelectionEvent.TreeSelectionEvent(Object source, TreePath path, boolean isNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath) Creates a new TreeSelectionEvent .
| |
TreeSelectionEvent.TreeSelectionEvent(Object source, TreePath[] paths, boolean[] areNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath) Creates a new TreeSelectionEvent .
|
Fields of type javax.swing.tree.TreePath | |
TreePath | The new lead selection path (may be null ).
|
TreePath | The old lead selection path (may be null ).
|
TreePath | path
|
TreePath | path
|
TreePath[] | The paths that have been added or removed from the selection.
|
Methods with parameter type javax.swing.tree.TreePath | |
boolean | Returns true if path has been added to the
selection, and false if the path has been removed from the
selection.
|
Methods with return type javax.swing.tree.TreePath | |
TreePath | Returns the new lead selection path.
|
TreePath | Returns the old lead selection path.
|
TreePath | getPath
|
TreePath | Returns the first path element.
|
TreePath[] | Returns an array of the paths that changed in the selection.
|
TreePath | getTreePath
|
Methods with parameter type javax.swing.tree.TreePath | |
Rectangle | Calls the TreeUI.getPathBounds(JTree,TreePath) method
for all the UI delegates managed by this MultiTreeUI ,
returning the bounds for the UI delegate from the primary look and
feel.
|
int | Calls the TreeUI.getRowForPath(JTree,TreePath) method
for all the UI delegates managed by this MultiTreeUI ,
returning the row index for the UI delegate from the primary look and
feel.
|
void | Calls the TreeUI.startEditingAtPath(JTree,TreePath) method for
all the UI delegates managed by this MultiTreeUI .
|
Methods with return type javax.swing.tree.TreePath | |
TreePath | Calls the TreeUI.getClosestPathForLocation(JTree,int,int) method
for all the UI delegates managed by this MultiTreeUI ,
returning the path for the UI delegate from the primary look and
feel.
|
TreePath | Calls the TreeUI.getEditingPath(JTree) method for all
the UI delegates managed by this MultiTreeUI ,
returning the path for the UI delegate from the primary look and
feel.
|
TreePath | Calls the TreeUI.getPathForRow(JTree,int) method
for all the UI delegates managed by this MultiTreeUI ,
returning the path for the UI delegate from the primary look and
feel.
|
Constructors with parameter type javax.swing.tree.TreePath | |
Constructs an AccessibleJTreeNode
|
Methods with parameter type javax.swing.tree.TreePath | |
void | |
void | |
void | This catches attempts to add something to the selection.
|
void | |
void | |
void | Notifies all listeners that the tree was collapsed.
|
void | Notifies all listeners that the tree was expanded.
|
void | Notifies all listeners that the tree will collapse.
|
void | Notifies all listeners that the tree will expand.
|
Enumeration | |
Enumeration | Returns all TreePath objects which are a descendants of the given path
and are exapanded at the moment of the execution of this method. |
Rectangle | |
int | |
boolean | |
boolean | |
boolean | |
boolean | |
boolean | |
boolean | |
void | |
boolean | Removes any paths in the current set of selected paths that are
descendants of path . |
void | |
void | |
void | This catches attempts to remove something from the selection.
|
void | |
void | |
void | |
void | |
void | |
void | |
void | This catches attempts to set a selection and sets nothing instead.
|
void |
Methods with return type javax.swing.tree.TreePath | |
TreePath | |
TreePath | JTree.getClosestPathForLocation(int x, int y) |
TreePath | |
TreePath | |
TreePath | Returns the next table element (beginning from the row
startingRow that starts with prefix .
|
TreePath[] | JTree.getPathBetweenRows(int index0, int index1) Get the pathes that are displayes between the two given rows.
|
TreePath | JTree.getPathForLocation(int x, int y) |
TreePath | JTree.getPathForRow(int row) |
TreePath | |
TreePath[] |
Methods with parameter type javax.swing.tree.TreePath | |
void | MetalTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) Paints the horizontal part of the leg. |
void | Paints the vertical part of the leg. |
Constructors with parameter type javax.swing.tree.TreePath | |
Creates a new tree path by adding the specified element to
the path .
|
Fields of type javax.swing.tree.TreePath | |
TreePath | Last path that was selected.
|
TreePath | The path that has been added last.
|
TreePath[] | The current selection.
|
Methods with parameter type javax.swing.tree.TreePath | |
void | Adds a path to the list of selected paths. |
void | |
void | Adds the paths to the list of selected paths. |
void | |
boolean | Returns true if the paths are contiguous (take subsequent
rows in the diplayed tree view. |
boolean | Checks if the paths can be added. |
boolean | Checks if the paths can be removed without breaking the continuity of the
selection according to selectionMode.
|
Rectangle | getBounds
|
Rectangle | Get bounds for the given tree path.
|
Rectangle | Get bounds for the given tree path.
|
boolean | getExpandedState
|
boolean | Return the expansion state of the given tree path. |
boolean | Return the expansion state of the given tree path. |
int | getRowForPath
|
int | Get the row, displaying the last node of the given path.
|
int | Get the row, displaying the last node of the given path.
|
int[] | Get the tree row numbers for the given pathes. |
int[] | getRowsForPaths
|
int | getVisibleChildCount
|
int | Get the number of the visible childs for the given tree path. |
int | Get the number of the visible childs for the given tree path. |
Enumeration | getVisiblePathsFrom
|
Enumeration | Get the enumeration over all visible pathes that start from the given
parent path.
|
Enumeration | Get the enumeration over all visible pathes that start from the given
parent path.
|
void | invalidatePathBounds
|
void | Discard the bound information for the given path.
|
void | Discard the bound information for the given path.
|
boolean | Returns true if path is a descendant of this
path, and false otherwise. |
boolean | isExpanded
|
boolean | Get the expanded state for the given tree path.
|
boolean | Get the expanded state for the given tree path.
|
boolean | Checks if a given path is in the selection.
|
boolean | |
void | Notify the installed listeners that the given patches have changed. |
void | Removes the path from the selection. |
void | |
void | Removes the paths from the selection. |
void | |
void | setExpandedState
|
void | Set the expanded state of the given path. |
void | Set the expanded state of the given path. |
void | Sets this path as the only selection. |
void | |
void | Sets the paths as selection. |
void | |
void | Messaged when the user has altered the value for the item
identified by path to newValue. |
void | valueForPathChanged
|
Methods with return type javax.swing.tree.TreePath | |
TreePath | getLeadSelectionPath
|
TreePath | |
TreePath | Returns the parent path, which is a path containing all the same elements
as this path, except for the last one. |
TreePath | AbstractLayoutCache.getPathClosestTo(int value0, int value1) getPathClosestTo
|
TreePath | FixedHeightLayoutCache.getPathClosestTo(int x, int y) Get the path, closest to the given point.
|
TreePath | VariableHeightLayoutCache.getPathClosestTo(int x, int y) Get the path, closest to the given point.
|
TreePath | AbstractLayoutCache.getPathForRow(int row) getPathForRow
|
TreePath | FixedHeightLayoutCache.getPathForRow(int row) Get the path, the last element of that is displayed in the given row.
|
TreePath | VariableHeightLayoutCache.getPathForRow(int row) Get the path, the last element of that is displayed in the given row.
|
TreePath | Returns the first path in the selection. |
TreePath | |
TreePath[] | Returns the complete selection.
|
TreePath[] | |
TreePath | Creates a new path that is equivalent to this path plus the specified
element.
|
Fields of type javax.swing.tree.TreePath | |
TreePath | Path that is being edited. |
Methods with parameter type javax.swing.tree.TreePath | |
void | If the mouseX and mouseY are in the expand or
collapse region of the row, this will toggle the row.
|
TreePath | Returns a path to the last child of parent
|
Rectangle | Returns the Rectangle enclosing the label portion that the last item in
path will be drawn to. |
int | Returns the row that the last item identified in path is visible at. |
void | Messaged when the user clicks the particular row, this invokes
toggleExpandState.
|
boolean | Returns true if the mouseX and mouseY fall in
the area of row that is used to expand/collpse the node and the node at row
does not represent a leaf.
|
void | BasicTreeUI.paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) Paints the expand (toggle) part of a row. |
void | BasicTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) Paints the horizontal part of the leg. |
void | BasicTreeUI.paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) Paints the renderer part of a row. |
void | Paints the vertical part of the leg. |
void | Messaged from the VisibleTreeNode after it has collapsed
|
void | Messaged from the VisibleTreeNode after it has been expanded.
|
void | Messaged to update the selection based on a MouseEvent over a particular
row. |
boolean | BasicTreeUI.shouldPaintExpandControl(TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) Returns true if the expand (toggle) control should be drawn for the
specified row.
|
boolean | Will start editing for node if there is a cellEditor and shouldSelectCall
returns true. |
void | Selects the last item in path and tries to edit it. |
void | Expands path if it is not expanded, or collapses row if it is expanded. |
void | Updates the expanded state of all the descendants of the path
by getting the expanded descendants from the tree and forwarding to the
tree state.
|
Methods with return type javax.swing.tree.TreePath | |
TreePath | Returns the path to the node that is closest to x,y. |
TreePath | Returns the path to the element that is being editted.
|
TreePath | Returns a path to the last child of parent
|
TreePath | Returns the path for passed in row. |
GNU Classpath (0.95) |