| 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.table |
Provides classes and interfaces for dealing with
javax.swing.JTable.
|
| Modifier and Type | Method and Description |
|---|---|
TableColumn |
JTable.getColumn(Object
Returns the
TableColumn object for the column in the table whose identifier is equal to
identifier, when compared using
equals.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JTable.addColumn(TableColumn
Appends
aColumn to the end of the array of columns held by this
JTable's column model.
|
void |
JTable.removeColumn(TableColumn
Removes
aColumn from this
JTable's array of columns.
|
| Modifier and Type | Field and Description |
|---|---|
protected TableColumn |
JTableHeader.draggedColumn
The index of the column being dragged.
|
protected TableColumn |
JTableHeader.resizingColumn
The index of the column being resized.
|
| Modifier and Type | Field and Description |
|---|---|
protected Vector |
DefaultTableColumnModel.tableColumns
Array of TableColumn objects in this model
|
| Modifier and Type | Method and Description |
|---|---|
TableColumn |
TableColumnModel.getColumn(int columnIndex)
Returns the
TableColumn object for the column at
columnIndex.
|
TableColumn |
DefaultTableColumnModel.getColumn(int columnIndex)
Returns the
TableColumn object for the column at
columnIndex.
|
TableColumn |
JTableHeader.getDraggedColumn()
Returns the the dragged column, if and only if, a drag is in process, otherwise returns
null.
|
TableColumn |
JTableHeader.getResizingColumn()
Returns the resizing column.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration |
TableColumnModel.getColumns()
Returns an
Enumeration of all the columns in the model.
|
Enumeration |
DefaultTableColumnModel.getColumns()
Returns an
Enumeration of all the columns in the model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TableColumnModel.addColumn(TableColumn
Appends
aColumn to the end of the
tableColumns array.
|
void |
DefaultTableColumnModel.addColumn(TableColumn
Appends
aColumn to the end of the
tableColumns array.
|
void |
TableColumnModel.removeColumn(TableColumn
Deletes the
TableColumn
column from the
tableColumns array.
|
void |
DefaultTableColumnModel.removeColumn(TableColumn
Deletes the
column from the
tableColumns array.
|
void |
JTableHeader.setDraggedColumn(TableColumn
Sets the header's
draggedColumn to
aColumn.
|
void |
JTableHeader.setResizingColumn(TableColumn
Sets the header's
resizingColumn to
aColumn.
|