W3cubDocs

/OpenJDK 21

Package javax.swing.table

package javax.swing.table
Provides classes and interfaces for dealing with javax.swing.JTable. JTable is Swing's grid or tabular view for constructing user interfaces for tabular data structures inside an application. Use this package if you want control over how tables are constructed, updated, and rendered, as well as how data associated with the tables are viewed and managed.

Note: Most of the Swing API is not thread safe. For details, see Concurrency in Swing, a section in The Java Tutorial.

For overviews, tutorials, examples, guides, and tool documentation, please see:
Since:
1.2
Class Description
AbstractTableModel
This abstract class provides default implementations for most of the methods in the TableModel interface.
DefaultTableCellRenderer
The standard class for rendering (displaying) individual cells in a JTable.
DefaultTableCellRenderer.UIResource
A subclass of DefaultTableCellRenderer that implements UIResource.
DefaultTableColumnModel
The standard column-handler for a JTable.
DefaultTableModel
This is an implementation of TableModel that uses a Vector of Vectors to store the cell value objects.
JTableHeader
This is the object which manages the header of the JTable.
TableCellEditor
This interface must be implemented to provide an editor of cell values for a JTable.
TableCellRenderer
This interface defines the method required by any object that would like to be a renderer for cells in a JTable.
TableColumn
A TableColumn represents all the attributes of a column in a JTable, such as width, resizability, minimum and maximum width.
TableColumnModel
Defines the requirements for a table column model object suitable for use with JTable.
TableModel
The TableModel interface specifies the methods the JTable will use to interrogate a tabular data model.
TableRowSorter<M extends TableModel>
An implementation of RowSorter that provides sorting and filtering using a TableModel.
TableStringConverter
TableStringConverter is used to convert objects from the model into strings.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/table/package-summary.html