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.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | TableCellEditor
This interface must be implemented to provide an editor of cell values
for a |
| public interface | TableCellRenderer
This interface defines the method required by any object that
would like to be a renderer for cells in a |
| public interface | TableColumnModel
Defines the requirements for a table column model object suitable for
use with |
| public interface | TableModel
The |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | AbstractTableModel
This abstract class provides default implementations for most of
the methods in the |
| public class | DefaultTableCellRenderer
The standard class for rendering (displaying) individual cells
in a |
| public class | DefaultTableColumnModel
The standard column-handler for a |
| public class | DefaultTableModel
This is an implementation of |
| public class | JTableHeader
This is the object which manages the header of the |
| public class | TableColumn
A |
| public class | TableRowSorter<
the type of the model, which must be an implementation of
M extends TableModel>TableModelAn implementation of |
| public abstract class | TableStringConverter
TableStringConverter is used to convert objects from the model into strings. |