Provides classes and interfaces for dealing with
JTableis 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.
Related DocumentationFor overviews, tutorials, examples, guides, and tool documentation, please see:
- How to Use Tables , a section in The Java Tutorial
Interface Summary Interface Description TableCellEditorThis interface defines the method any object that would like to be an editor of values for components such as
JTableneeds to implement.
TableCellRendererThis interface defines the method required by any object that would like to be a renderer for cells in a
TableColumnModelDefines the requirements for a table column model object suitable for use with
TableModelinterface specifies the methods the
JTablewill use to interrogate a tabular data model.
Class Summary Class Description AbstractTableModelThis abstract class provides default implementations for most of the methods in the
DefaultTableCellRendererThe standard class for rendering (displaying) individual cells in a
DefaultTableCellRenderer.UIResourceA subclass of
DefaultTableColumnModelThe standard column-handler for a
DefaultTableModelThis is an implementation of
TableModelthat uses a
Vectorsto store the cell value objects.
JTableHeaderThis is the object which manages the header of the
TableColumnrepresents all the attributes of a column in a
JTable, such as width, resizability, minimum and maximum width.
TableRowSorter<M extends TableModel>An implementation of
RowSorterthat provides sorting and filtering using a
TableStringConverterTableStringConverter is used to convert objects from the model into strings.