public synchronized TableModel < V > removeColumn ( int index ) { String removedColumnHeader = columns . remove ( index ) ; List < V > removedColumn = new ArrayList < V > ( ) ; for ( List < V > row : rows ) { removedColumn . add ( row . remove ( index ) ) ; } for ( Listener < V > listener : listeners ) { listener . onColumnRemoved ( this , index , removedColumnHeader , removedColumn ) ; } return this ; }
Removes a column from the table model