| Package | Description | 
|---|---|
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| javax.swing.tree | Provides classes and interfaces for dealing with
 javax.swing.JTree. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | JTree.EmptySelectionModel. setRowMapper(RowMapper mapper)This is overriden to do nothing;  EmptySelectionModeldoes not allow a selection. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractLayoutCacheWarning:
 Serialized objects of this class will not be compatible with
 future Swing releases. | 
| class  | FixedHeightLayoutCacheNOTE: This will become more open in a future release. | 
| class  | VariableHeightLayoutCacheNOTE: This will become more open in a future release. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected RowMapper | DefaultTreeSelectionModel. rowMapperProvides a row for a given path. | 
| Modifier and Type | Method and Description | 
|---|---|
| RowMapper | DefaultTreeSelectionModel. getRowMapper()Returns the RowMapper instance that is able to map a TreePath to a
 row. | 
| RowMapper | TreeSelectionModel. getRowMapper()Returns the RowMapper instance that is able to map a TreePath to a
 row. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DefaultTreeSelectionModel. setRowMapper(RowMapper newMapper)Sets the RowMapper instance. | 
| void | TreeSelectionModel. setRowMapper(RowMapper newMapper)Sets the RowMapper instance. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.