org.objectweb.fractal.explorer.attributes
Class AttributesTableColumnModel

java.lang.Object
  extended by javax.swing.table.DefaultTableColumnModel
      extended by org.objectweb.fractal.explorer.attributes.AttributesTableColumnModel
All Implemented Interfaces:
PropertyChangeListener, Serializable, EventListener, ListSelectionListener, TableColumnModel

public class AttributesTableColumnModel
extends DefaultTableColumnModel

An extended DefaultTableColumnModel with overriden moveColumn() method. This table column model does not allow moving of table columns in the table to which is belongs.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.DefaultTableColumnModel
changeEvent, columnMargin, columnSelectionAllowed, listenerList, selectionModel, tableColumns, totalColumnWidth
 
Constructor Summary
AttributesTableColumnModel()
           
 
Method Summary
 void moveColumn(int index, int newIndex)
           
 
Methods inherited from class javax.swing.table.DefaultTableColumnModel
addColumn, addColumnModelListener, createSelectionModel, fireColumnAdded, fireColumnMarginChanged, fireColumnMoved, fireColumnRemoved, fireColumnSelectionChanged, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumnModelListeners, getColumns, getColumnSelectionAllowed, getListeners, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, propertyChange, recalcWidthCache, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesTableColumnModel

public AttributesTableColumnModel()
Method Detail

moveColumn

public void moveColumn(int index,
                       int newIndex)
Specified by:
moveColumn in interface TableColumnModel
Overrides:
moveColumn in class DefaultTableColumnModel
See Also:
DefaultTableColumnModel.moveColumn(int, int)