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 | Description |
---|---|---|
TableColumn |
JTable.getColumn(Object identifier) |
Returns the
TableColumn object for the column in the table
whose identifier is equal to identifier , when compared using
equals . |
Modifier and Type | Method | Description |
---|---|---|
void |
JTable.addColumn(TableColumn aColumn) |
Appends
aColumn to the end of the array of columns held by
this JTable 's column model. |
void |
JTable.removeColumn(TableColumn aColumn) |
Removes
aColumn from this JTable 's
array of columns. |
Modifier and Type | Field | 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 | Description |
---|---|---|
protected Vector<TableColumn> |
DefaultTableColumnModel.tableColumns |
Array of TableColumn objects in this model
|
Modifier and Type | Method | Description |
---|---|---|
TableColumn |
DefaultTableColumnModel.getColumn(int columnIndex) |
Returns the
TableColumn object for the column
at columnIndex . |
TableColumn |
TableColumnModel.getColumn(int columnIndex) |
Returns the
TableColumn object for the column at
columnIndex . |
TableColumn |
JTableHeader.getDraggedColumn() |
Returns 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 | Description |
---|---|---|
Enumeration<TableColumn> |
DefaultTableColumnModel.getColumns() |
Returns an
Enumeration of all the columns in the model. |
Enumeration<TableColumn> |
TableColumnModel.getColumns() |
Returns an
Enumeration of all the columns in the model. |
Modifier and Type | Method | Description |
---|---|---|
void |
DefaultTableColumnModel.addColumn(TableColumn aColumn) |
Appends
aColumn to the end of the
tableColumns array. |
void |
TableColumnModel.addColumn(TableColumn aColumn) |
Appends
aColumn to the end of the
tableColumns array. |
void |
DefaultTableColumnModel.removeColumn(TableColumn column) |
Deletes the
column from the
tableColumns array. |
void |
TableColumnModel.removeColumn(TableColumn column) |
Deletes the
TableColumn column from the
tableColumns array. |
void |
JTableHeader.setDraggedColumn(TableColumn aColumn) |
Sets the header's
draggedColumn to aColumn . |
void |
JTableHeader.setResizingColumn(TableColumn aColumn) |
Sets the header's
resizingColumn to aColumn . |
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps