| 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.plaf.basic |
Provides user interface objects built according to the
Basic look and feel.
|
| javax.swing.table |
Provides classes and interfaces for dealing with
javax.swing.JTable. |
| Modifier and Type | Method and Description |
|---|---|
static JScrollPane |
JTable.createScrollPaneForTable(JTable aTable)
Deprecated.
As of Swing version 1.0.2,
replaced by
new JScrollPane(aTable). |
Component |
DefaultCellEditor.getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
Implements the
TableCellEditor interface. |
| Constructor and Description |
|---|
AccessibleJTableCell(JTable t,
int r,
int c,
int i)
Constructs an
AccessibleJTableHeaderEntry. |
| Modifier and Type | Field and Description |
|---|---|
protected JTable |
BasicTableUI.table |
| Modifier and Type | Field and Description |
|---|---|
protected JTable |
JTableHeader.table
The table for which this object is the header;
the default is
null. |
| Modifier and Type | Method and Description |
|---|---|
JTable |
JTableHeader.getTable()
Returns the table associated with this header.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
TableCellEditor.getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
Sets an initial
value for the editor. |
Component |
DefaultTableCellRenderer.getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Returns the default table cell renderer.
|
Component |
TableCellRenderer.getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Returns the component used for drawing the cell.
|
void |
JTableHeader.setTable(JTable table)
Sets the table associated with this header.
|
| Constructor and Description |
|---|
AccessibleJTableHeaderEntry(int c,
JTableHeader p,
JTable t)
Constructs an AccessiblJTableHeaaderEntry
|
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.