Uses of Class
javax.swing.table.TableColumn
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interfaces for dealing with
javax.swing.JTable
.-
Uses of TableColumn in javax.swing
Modifier and TypeMethodDescriptionReturns theTableColumn
object for the column in the table whose identifier is equal toidentifier
, when compared usingequals
.Modifier and TypeMethodDescriptionvoid
JTable.addColumn
(TableColumn aColumn) AppendsaColumn
to the end of the array of columns held by thisJTable
's column model.void
JTable.removeColumn
(TableColumn aColumn) RemovesaColumn
from thisJTable
's array of columns. -
Uses of TableColumn in javax.swing.table
Modifier and TypeFieldDescriptionprotected TableColumn
JTableHeader.draggedColumn
The index of the column being dragged.protected TableColumn
JTableHeader.resizingColumn
The index of the column being resized.Modifier and TypeFieldDescriptionprotected Vector
<TableColumn> DefaultTableColumnModel.tableColumns
Array of TableColumn objects in this modelModifier and TypeMethodDescriptionDefaultTableColumnModel.getColumn
(int columnIndex) Returns theTableColumn
object for the column atcolumnIndex
.TableColumnModel.getColumn
(int columnIndex) Returns theTableColumn
object for the column atcolumnIndex
.JTableHeader.getDraggedColumn()
Returns the dragged column, if and only if, a drag is in process, otherwise returnsnull
.JTableHeader.getResizingColumn()
Returns the resizing column.Modifier and TypeMethodDescriptionDefaultTableColumnModel.getColumns()
Returns anEnumeration
of all the columns in the model.TableColumnModel.getColumns()
Returns anEnumeration
of all the columns in the model.Modifier and TypeMethodDescriptionvoid
DefaultTableColumnModel.addColumn
(TableColumn aColumn) AppendsaColumn
to the end of thetableColumns
array.void
TableColumnModel.addColumn
(TableColumn aColumn) AppendsaColumn
to the end of thetableColumns
array.void
DefaultTableColumnModel.removeColumn
(TableColumn column) Deletes thecolumn
from thetableColumns
array.void
TableColumnModel.removeColumn
(TableColumn column) Deletes theTableColumn
column
from thetableColumns
array.void
JTableHeader.setDraggedColumn
(TableColumn aColumn) Sets the header'sdraggedColumn
toaColumn
.void
JTableHeader.setResizingColumn
(TableColumn aColumn) Sets the header'sresizingColumn
toaColumn
.