A C E F G H I J L M R S T U V

A

addSelectionInterval(int, int) - Method in class javax.swing.JTree
Adds the paths between index0 and index1, inclusive, to the selection.
addSelectionPath(TreePath) - Method in class javax.swing.JTree
Adds the node identified by the specified TreePath to the current selection.
addSelectionPaths(TreePath[]) - Method in class javax.swing.JTree
Adds each path in the array of paths to the current selection.
addSelectionRow(int) - Method in class javax.swing.JTree
Adds the path at the specified row to the current selection.
addSelectionRows(int[]) - Method in class javax.swing.JTree
Adds the paths at each of the specified rows to the current selection.
addTreeExpansionListener(TreeExpansionListener) - Method in class javax.swing.JTree
Adds a listener for TreeExpansion events.
addTreeSelectionListener(TreeSelectionListener) - Method in class javax.swing.JTree
Adds a listener for TreeSelection events.
addTreeWillExpandListener(TreeWillExpandListener) - Method in class javax.swing.JTree
Adds a listener for TreeWillExpand events.

C

cancelEditing() - Method in class javax.swing.JTree
Cancels the current editing session.
CELL_EDITOR_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for cellEditor.
CELL_RENDERER_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for cellRenderer.
children() - Method in class javax.swing.JTree.DynamicUtilTreeNode
Subclassed to load the children, if necessary.
clearSelection() - Method in class javax.swing.JTree
Clears the selection.
collapsePath(TreePath) - Method in class javax.swing.JTree
Ensures that the node identified by the specified path is collapsed and viewable.
collapseRow(int) - Method in class javax.swing.JTree
Ensures that the node in the specified row is collapsed.
convertValueToText(Object, boolean, boolean, boolean, int, boolean) - Method in class javax.swing.JTree
Called by the renderers to convert the specified value to text.
createChildren(DefaultMutableTreeNode, Object) - Static method in class javax.swing.JTree.DynamicUtilTreeNode
Adds to parent all the children in children.

E

EDITABLE_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for editable.
expandPath(TreePath) - Method in class javax.swing.JTree
Ensures that the node identified by the specified path is expanded and viewable.
expandRow(int) - Method in class javax.swing.JTree
Ensures that the node in the specified row is expanded and viewable.

F

fireTreeCollapsed(TreePath) - Method in class javax.swing.JTree
Notify all listeners that have registered interest for notification on this event type.
fireTreeExpanded(TreePath) - Method in class javax.swing.JTree
Notify all listeners that have registered interest for notification on this event type.
fireTreeWillCollapse(TreePath) - Method in class javax.swing.JTree
Notify all listeners that have registered interest for notification on this event type.
fireTreeWillExpand(TreePath) - Method in class javax.swing.JTree
Notify all listeners that have registered interest for notification on this event type.

G

getAccessibleContext() - Method in class javax.swing.JTree
Get the AccessibleContext associated with this JComponent
getCellEditor() - Method in class javax.swing.JTree
Returns the editor used to edit entries in the tree.
getCellRenderer() - Method in class javax.swing.JTree
Returns the current TreeCellRenderer that is rendering each cell.
getChildAt(int) - Method in class javax.swing.JTree.DynamicUtilTreeNode
Subclassed to load the children, if necessary.
getChildCount() - Method in class javax.swing.JTree.DynamicUtilTreeNode
Returns the number of child nodes.
getClosestPathForLocation(int, int) - Method in class javax.swing.JTree
Returns the path to the node that is closest to x,y.
getClosestRowForLocation(int, int) - Method in class javax.swing.JTree
Returns the row to the node that is closest to x,y.
getEditingPath() - Method in class javax.swing.JTree
Returns the path to the element that is currently being edited.
getExpandedDescendants(TreePath) - Method in class javax.swing.JTree
Returns an Enumeration of the descendants of path that are currently expanded.
getInvokesStopCellEditing() - Method in class javax.swing.JTree
Returns the indicator that tells what happens when editing is interrupted.
getLastSelectedPathComponent() - Method in class javax.swing.JTree
Returns the last path component in the first node of the current selection.
getLeadSelectionPath() - Method in class javax.swing.JTree
Returns the path of the last node added to the selection.
getLeadSelectionRow() - Method in class javax.swing.JTree
Returns the row index of the last node added to the selection.
getMaxSelectionRow() - Method in class javax.swing.JTree
Gets the last selected row.
getMinSelectionRow() - Method in class javax.swing.JTree
Gets the first selected row.
getModel() - Method in class javax.swing.JTree
Returns the TreeModel that is providing the data.
getPathBounds(TreePath) - Method in class javax.swing.JTree
Returns the Rectangle that the specified node will be drawn into.
getPathForLocation(int, int) - Method in class javax.swing.JTree
Returns the path for the node at the specified location.
getPathForRow(int) - Method in class javax.swing.JTree
Returns the path for the specified row.
getPreferredScrollableViewportSize() - Method in class javax.swing.JTree
Returns the preferred display size of a JTree.
getRowBounds(int) - Method in class javax.swing.JTree
Returns the Rectangle that the node at the specified row is drawn in.
getRowCount() - Method in class javax.swing.JTree
Returns the number of rows that are currently being displayed.
getRowForLocation(int, int) - Method in class javax.swing.JTree
Returns the row for the specified location.
getRowForPath(TreePath) - Method in class javax.swing.JTree
Returns the row that displays the node identified by the specified path.
getRowHeight() - Method in class javax.swing.JTree
Returns the height of each row.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class javax.swing.JTree
Returns the amount for a block inrecment, which is the height or width of visibleRect, based on orientation.
getScrollableTracksViewportHeight() - Method in class javax.swing.JTree
Returns false to indicate that the height of the viewport does not determine the height of the table, unless the preferred height of the tree is smaller than the viewports height.
getScrollableTracksViewportWidth() - Method in class javax.swing.JTree
Returns false to indicate that the width of the viewport does not determine the width of the table, unless the preferred width of the tree is smaller than the viewports width.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class javax.swing.JTree
Returns the amount to increment when scrolling.
getScrollsOnExpand() - Method in class javax.swing.JTree
Returns true if the tree scrolls to show previously hidden children.
getSelectionCount() - Method in class javax.swing.JTree
Returns the number of nodes selected.
getSelectionModel() - Method in class javax.swing.JTree
Returns the model for selections.
getSelectionPath() - Method in class javax.swing.JTree
Returns the path to the first selected node.
getSelectionPaths() - Method in class javax.swing.JTree
Returns the paths of all selected values.
getSelectionRows() - Method in class javax.swing.JTree
Returns all of the currently selected rows.
getShowsRootHandles() - Method in class javax.swing.JTree
Returns true if handles for the root nodes are displayed.
getToolTipText(MouseEvent) - Method in class javax.swing.JTree
Overrides JComponent's getToolTipText method in order to allow renderer's tips to be used if it has text set.
getUI() - Method in class javax.swing.JTree
Returns the L&F object that renders this component.
getUIClassID() - Method in class javax.swing.JTree
Returns the name of the L&F class that renders this component.
getVisibleRowCount() - Method in class javax.swing.JTree
Returns the number of rows that are displayed in the display area.

H

hasBeenExpanded(TreePath) - Method in class javax.swing.JTree
Returns true if the node identified by the path has ever been expanded.

I

INVOKES_STOP_CELL_EDITING_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for messagesStopCellEditing.
isCollapsed(int) - Method in class javax.swing.JTree
Returns true if the node at the specified display row is collapsed.
isCollapsed(TreePath) - Method in class javax.swing.JTree
Returns true if the value identified by path is currently collapsed, this will return false if any of the values in path are currently not being displayed.
isEditable() - Method in class javax.swing.JTree
Returns true if the tree is editable.
isEditing() - Method in class javax.swing.JTree
Returns true if the tree is being edited.
isExpanded(int) - Method in class javax.swing.JTree
Returns true if the node at the specified display row is currently expanded.
isExpanded(TreePath) - Method in class javax.swing.JTree
Returns true if the node identified by the path is currently expanded,
isFixedRowHeight() - Method in class javax.swing.JTree
Returns true if the height of each display row is a fixed size.
isLargeModel() - Method in class javax.swing.JTree
Returns true if the tree is configured for a large model.
isLeaf() - Method in class javax.swing.JTree.DynamicUtilTreeNode
Returns true if this node allows children.
isPathEditable(TreePath) - Method in class javax.swing.JTree
Returns isEditable.
isPathSelected(TreePath) - Method in class javax.swing.JTree
Returns true if the item identified by the path is currently selected.
isRootVisible() - Method in class javax.swing.JTree
Returns true if the root node of the tree is displayed.
isRowSelected(int) - Method in class javax.swing.JTree
Returns true if the node identitifed by row is selected.
isSelectionEmpty() - Method in class javax.swing.JTree
Returns true if the selection is currently empty.
isVisible(TreePath) - Method in class javax.swing.JTree
Returns true if the value identified by path is currently viewable, which means it is either the root or all of its parents are exapnded , Otherwise, this method returns false.

J

JTree - class javax.swing.JTree.
A control that displays a set of hierarchical data as an outline.
JTree.DynamicUtilTreeNode - class javax.swing.JTree.DynamicUtilTreeNode.
DynamicUtilTreeNode can wrap vectors/hashtables/arrays/strings and create the appropriate children tree nodes as necessary.
JTree.DynamicUtilTreeNode(Object, Object) - Constructor for class javax.swing.JTree.DynamicUtilTreeNode
Creates a node with the specified object as its value and with the specified children.
JTree() - Constructor for class javax.swing.JTree
Returns a JTree with a sample model.
JTree(Hashtable) - Constructor for class javax.swing.JTree
Returns a JTree created from a Hashtable which does not display the root.
JTree(Object[]) - Constructor for class javax.swing.JTree
Returns a JTree with each element of the specified array as the child of a new root node which is not displayed.
JTree(TreeModel) - Constructor for class javax.swing.JTree
Returns an instance of JTree which displays the root node -- the tree is created using the specified data model.
JTree(TreeNode) - Constructor for class javax.swing.JTree
Returns a JTree with the specified TreeNode as its root, which displays the root node.
JTree(TreeNode, boolean) - Constructor for class javax.swing.JTree
Returns a JTree with the specified TreeNode as its root, which displays the root node and which decides whether a node is a leaf node in the specified manner.
JTree(Vector) - Constructor for class javax.swing.JTree
Returns a JTree with each element of the specified Vector as the child of a new root node which is not displayed.

L

LARGE_MODEL_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for largeModel.

M

makeVisible(TreePath) - Method in class javax.swing.JTree
Ensures that the node identified by path is currently viewable.

R

removeSelectionInterval(int, int) - Method in class javax.swing.JTree
Removes the nodes between index0 and index1, inclusive, from the selection.
removeSelectionPath(TreePath) - Method in class javax.swing.JTree
Removes the node identified by the specified path from the current selection.
removeSelectionPaths(TreePath[]) - Method in class javax.swing.JTree
Removes the nodes identified by the specified paths from the current selection.
removeSelectionRow(int) - Method in class javax.swing.JTree
Removes the path at the index row from the current selection.
removeSelectionRows(int[]) - Method in class javax.swing.JTree
Removes the paths that are selected at each of the specified rows.
removeTreeExpansionListener(TreeExpansionListener) - Method in class javax.swing.JTree
Removes a listener for TreeExpansion events.
removeTreeSelectionListener(TreeSelectionListener) - Method in class javax.swing.JTree
Removes a TreeSelection listener.
removeTreeWillExpandListener(TreeWillExpandListener) - Method in class javax.swing.JTree
Removes a listener for TreeWillExpand events.
ROOT_VISIBLE_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for rootVisible.
ROW_HEIGHT_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for rowHeight.

S

scrollPathToVisible(TreePath) - Method in class javax.swing.JTree
Makes sure all the path components in path are expanded (except for the last path component) and scrolls so that the node identified by the path is displayed.
scrollRowToVisible(int) - Method in class javax.swing.JTree
Scrolls the item identified by row until it is displayed.
SCROLLS_ON_EXPAND_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for scrollsOnExpand.
SELECTION_MODEL_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for selectionModel.
setCellEditor(TreeCellEditor) - Method in class javax.swing.JTree
Sets the cell editor.
setCellRenderer(TreeCellRenderer) - Method in class javax.swing.JTree
Sets the TreeCellRenderer that will be used to draw each cell.
setEditable(boolean) - Method in class javax.swing.JTree
Determines whether the tree is editable.
setInvokesStopCellEditing(boolean) - Method in class javax.swing.JTree
Determines what happens when editing is interrupted by selecting another node in the tree, a change in the tree's data, or by some other means.
setLargeModel(boolean) - Method in class javax.swing.JTree
Specifies whether the UI should use a large model.
setModel(TreeModel) - Method in class javax.swing.JTree
Sets the TreeModel that will provide the data.
setRootVisible(boolean) - Method in class javax.swing.JTree
Determines whether or not the root node from the TreeModel is visible.
setRowHeight(int) - Method in class javax.swing.JTree
Sets the height of each cell.
setScrollsOnExpand(boolean) - Method in class javax.swing.JTree
Determines whether or not when a node is expanded, as many of the descendants are scrolled to be inside the viewport as possible.
setSelectionInterval(int, int) - Method in class javax.swing.JTree
Selects the nodes between index0 and index1, inclusive.
setSelectionModel(TreeSelectionModel) - Method in class javax.swing.JTree
Sets the tree's selection model.
setSelectionPath(TreePath) - Method in class javax.swing.JTree
Selects the node identified by the specified path.
setSelectionPaths(TreePath[]) - Method in class javax.swing.JTree
Selects the nodes identified by the specified array of paths.
setSelectionRow(int) - Method in class javax.swing.JTree
Selects the node at the specified row in the display.
setSelectionRows(int[]) - Method in class javax.swing.JTree
Selects the nodes corresponding to each of the specified rows in the display.
setShowsRootHandles(boolean) - Method in class javax.swing.JTree
Determines whether the node handles are to be displayed.
setUI(TreeUI) - Method in class javax.swing.JTree
Sets the L&F object that renders this component.
setVisibleRowCount(int) - Method in class javax.swing.JTree
Sets the number of rows that are to be displayed.
SHOWS_ROOT_HANDLES_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for showsRootHandles.
startEditingAtPath(TreePath) - Method in class javax.swing.JTree
Selects the node identified by the specified path and initiates editing.
stopEditing() - Method in class javax.swing.JTree
Ends the current editing session.

T

TREE_MODEL_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for treeModel.
treeDidChange() - Method in class javax.swing.JTree
Sent when the tree has changed enough that we need to resize the bounds, but not enough that we need to remove the expanded node set (e.g nodes were expanded or collapsed, or nodes were inserted into the tree).

U

updateUI() - Method in class javax.swing.JTree
Notification from the UIManager that the L&F has changed.

V

VISIBLE_ROW_COUNT_PROPERTY - Static variable in class javax.swing.JTree
Bound property name for visibleRowCount.

A C E F G H I J L M R S T U V