Example usage for Java javax.swing.table TableColumnModel fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addColumn(TableColumn aColumn) Appends aColumn to the end of the tableColumns array. |
void | addColumnModelListener(TableColumnModelListener x) Adds a listener for table column model events. |
TableColumn | getColumn(int columnIndex) Returns the TableColumn object for the column at columnIndex . |
int | getColumnCount() Returns the number of columns in the model. |
int | getColumnIndex(Object columnIdentifier) Returns the index of the first column in the table whose identifier is equal to identifier , when compared using equals . |
int | getColumnIndexAtX(int xPosition) Returns the index of the column that lies on the horizontal point, xPosition ; or -1 if it lies outside the any of the column's bounds. |
int | getColumnMargin() Returns the width between the cells in each column. |
Enumeration | getColumns() Returns an Enumeration of all the columns in the model. |
int | getTotalColumnWidth() Returns the total width of all the columns. |
void | removeColumn(TableColumn column) Deletes the TableColumn column from the tableColumns array. |
void | setColumnMargin(int newMargin) Sets the TableColumn 's column margin to newMargin . |