Uses of Interface javax.swing.tree.RowMapper (Java Platform SE 8 )
Date: 2026-07-22

## Uses of Interface
javax.swing.tree.RowMapper

- Packages that use RowMapper
  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`.

- - ### Uses of RowMapper in javax.swing

    Methods in javax.swing with parameters of type RowMapper
    Modifier and Type | Method and Description
    --- | ---
    `void` | JTree.EmptySelectionModel.`setRowMapper(RowMapper mapper)` This is overriden to do nothing; `EmptySelectionModel` does not allow a selection.

  - ### Uses of RowMapper in javax.swing.tree

    Classes in javax.swing.tree that implement RowMapper
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractLayoutCache` Warning: Serialized objects of this class will not be compatible with future Swing releases.
    `class` | `FixedHeightLayoutCache` NOTE: This will become more open in a future release.
    `class` | `VariableHeightLayoutCache` NOTE: This will become more open in a future release.

    Fields in javax.swing.tree declared as RowMapper
    Modifier and Type | Field and Description
    --- | ---
    `protected RowMapper` | DefaultTreeSelectionModel.`rowMapper` Provides a row for a given path.

    Methods in javax.swing.tree that return RowMapper
    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.

    Methods in javax.swing.tree with parameters of type RowMapper
    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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.