Uses of Class
javax.swing.table.TableColumn
| 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. |
-
Uses of TableColumn in javax.swing
Methods in javax.swing that return TableColumn Modifier and Type Method Description TableColumnJTable. getColumn(Object identifier)Returns theTableColumnobject for the column in the table whose identifier is equal toidentifier, when compared usingequals.Methods in javax.swing with parameters of type TableColumn Modifier and Type Method Description voidJTable. addColumn(TableColumn aColumn)AppendsaColumnto the end of the array of columns held by thisJTable's column model.voidJTable. removeColumn(TableColumn aColumn)RemovesaColumnfrom thisJTable's array of columns. -
Uses of TableColumn in javax.swing.table
Fields in javax.swing.table declared as TableColumn Modifier and Type Field Description protected TableColumnJTableHeader. draggedColumnThe index of the column being dragged.protected TableColumnJTableHeader. resizingColumnThe index of the column being resized.Fields in javax.swing.table with type parameters of type TableColumn Modifier and Type Field Description protected Vector<TableColumn>DefaultTableColumnModel. tableColumnsArray of TableColumn objects in this modelMethods in javax.swing.table that return TableColumn Modifier and Type Method Description TableColumnDefaultTableColumnModel. getColumn(int columnIndex)Returns theTableColumnobject for the column atcolumnIndex.TableColumnTableColumnModel. getColumn(int columnIndex)Returns theTableColumnobject for the column atcolumnIndex.TableColumnJTableHeader. getDraggedColumn()Returns the dragged column, if and only if, a drag is in process, otherwise returnsnull.TableColumnJTableHeader. getResizingColumn()Returns the resizing column.Methods in javax.swing.table that return types with arguments of type TableColumn Modifier and Type Method Description Enumeration<TableColumn>DefaultTableColumnModel. getColumns()Returns anEnumerationof all the columns in the model.Enumeration<TableColumn>TableColumnModel. getColumns()Returns anEnumerationof all the columns in the model.Methods in javax.swing.table with parameters of type TableColumn Modifier and Type Method Description voidDefaultTableColumnModel. addColumn(TableColumn aColumn)AppendsaColumnto the end of thetableColumnsarray.voidTableColumnModel. addColumn(TableColumn aColumn)AppendsaColumnto the end of thetableColumnsarray.voidDefaultTableColumnModel. removeColumn(TableColumn column)Deletes thecolumnfrom thetableColumnsarray.voidTableColumnModel. removeColumn(TableColumn column)Deletes theTableColumncolumnfrom thetableColumnsarray.voidJTableHeader. setDraggedColumn(TableColumn aColumn)Sets the header'sdraggedColumntoaColumn.voidJTableHeader. setResizingColumn(TableColumn aColumn)Sets the header'sresizingColumntoaColumn.