Returns the number of columns in the column model.
the number of columns
getColumnIndex
public int getColumnIndex(Object identifier)(Code)
Returns the index of the table column with the given identifier.
Parameters: identifier - the identifier the index throws: IllegalArgumentException - if the value of identifieris null or if the no column was found with the given identifier
Returns an Iterator over the columns of the column model.
the Iterator
moveColumn
public void moveColumn(int columnIndex, int newIndex)(Code)
Moves a table column to a new index within the model.
Parameters: columnIndex - the index of the column to move Parameters: newIndex - the new index of the specified column