|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagejavax.swing.tree
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
ATreeCellEditor
. You need to supply an instance ofDefaultTreeCellRenderer
so that the icons can be obtained. You can optionally supply aTreeCellEditor
that will be layed out according to the icon in theDefaultTreeCellRenderer
. If you do not supply aTreeCellEditor
aTextField
will be used. Editing is started on a triple mouse click or after a click pause click and a delay of 1200 miliseconds.Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4 support for long term storage of all JavaBeansTM has been added to the
java.beans
package. Please see java.beans.XMLEncoder @see javax.swing.JTree @version 1.25 1226 04/0309/0102 @author Scott Violet
Default implementation of TreeSelectionModel. Listeners are notified whenever the paths in the selection change not the rows. In order to be able to track row changes you may wish to become a listener for expansion events on the tree and test for changes from there.Class DefaultTreeSelectionModel, void fireValueChanged(TreeSelectionEvent)resetRowSelection is called from any of the methods that update the selected paths. If you subclass any of these methods to filter what is allowed to be selected be sure and message
resetRowSelection
if you do not message super.Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4 support for long term storage of all JavaBeansTM has been added to the
java.beans
package. Please see java.beans.XMLEncoder @see javax.swing.JTree @version 1.434512/03/0120/02 @author Scott Violet
Notifies all listeners that are registered for tree selection events on this object. @see #addTreeSelectionListener @see EventListenerList
The interface that defines a suitable data model for aJTree
. For further information on tree models including an example of a custom implementation see How to Use Trees in The Java Tutorial.
JTree
and its related classes make extensive use ofTreePath
s for indentifying nodes in theTreeModel
. If aTreeModel
returns the same object as compared byequals
at two different indices under the same parent than the resultingTreePath
objects will be considered equal as well. Some implementations may assume that if twoTreePath
s are equal they identify the same node. If this condition is not met painting problems and other oddities may result. In other words ifgetChild
for a given parent returns the same Object (as determined byequals
) problems may result and it is recommended you avoid doing this. @see TreePath @version 1.19 1220 02/0315/0102 @author Rob Davis @author Ray Ryan