Generated by
JDiff

Class javax.swing.JTree

Documentation changed from old to new.

Changed Constructors
JTree(TreeNode) Documentation changed from old to new.
Returns a JTree with the specified TreeNode as its root which displays the root node.
JTree(void) Documentation changed from old to new.
Returns a JTree with a sample model.
 

Added Methods
boolean getDragEnabled() Gets the value of the dragEnabled property.
TreePath getNextMatch(String, int, Bias) Returns the TreePath to the next tree element that begins with a prefix.
TreeExpansionListener[] getTreeExpansionListeners() Returns an array of all the TreeExpansionListeners added to this JTree with addTreeExpansionListener().
TreeSelectionListener[] getTreeSelectionListeners() Returns an array of all the TreeSelectionListeners added to this JTree with addTreeSelectionListener().
TreeWillExpandListener[] getTreeWillExpandListeners() Returns an array of all the TreeWillExpandListeners added to this JTree with addTreeWillExpandListener().
void setDragEnabled(boolean) Sets the dragEnabled property which must be true to enable automatic drag handling (the first part of drag and drop) on this component.
 

Changed Methods
void addSelectionPath(TreePath) Documentation changed from old to new.
Adds the node identified by the specified TreePath to the current selection.
void addSelectionPaths(TreePath[]) Documentation changed from old to new.
Adds each path in the array of paths to the current selection.
void fireTreeCollapsed(TreePath) Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
void fireTreeExpanded(TreePath) Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
void fireTreeWillCollapse(TreePath) Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
void fireTreeWillExpand(TreePath) Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
void fireValueChanged(TreeSelectionEvent) Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
boolean getScrollsOnExpand() Documentation changed from old to new.
Returns the value of the scrollsOnExpand property.
boolean getShowsRootHandles() Documentation changed from old to new.
Returns the value of the showsRootHandles property.
TreeUI getUI() Documentation changed from old to new.
Returns the L&F object that renders this component.
boolean isPathEditable(TreePath) Documentation changed from old to new.
Returns isEditable.
boolean isRowSelected(int) Documentation changed from old to new.
Returns true if the node identified by row is selected.
void removeSelectionRow(int) Documentation changed from old to new.
Removes the row at the index row from the current selection.
void removeSelectionRows(int[]) Documentation changed from old to new.
Removes the rows that are selected at each of the specified rows.
void setInvokesStopCellEditing(boolean) Documentation changed from old to new.
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.
void setScrollsOnExpand(boolean) Documentation changed from old to new.
Sets the scrollsOnExpand property which determines whether the tree might scroll to show previously hidden children.
void setShowsRootHandles(boolean) Documentation changed from old to new.
Sets the value of the showsRootHandles property which specifies whether the node handles should be displayed.
void setVisibleRowCount(int) Documentation changed from old to new.
Sets the number of rows that are to be displayed.
void setUI(TreeUI) Documentation changed from old to new.
Sets the L&F object that renders this component.