FindBugs™ 1.3.9

edu.umd.cs.findbugs.gui2
Class SorterTableColumnModel

java.lang.Object
  extended by edu.umd.cs.findbugs.gui2.SorterTableColumnModel
All Implemented Interfaces:
javax.swing.table.TableColumnModel

public class SorterTableColumnModel
extends java.lang.Object
implements javax.swing.table.TableColumnModel

Handles the sorting order and informs the treeModel when changes are necessary

Author:
Dan

Constructor Summary
SorterTableColumnModel(java.util.ArrayList<Sortables> columnHeaders)
           
SorterTableColumnModel(Sortables[] columnHeaders)
           
 
Method Summary
 void addColumn(javax.swing.table.TableColumn arg0)
           
 void addColumnModelListener(javax.swing.event.TableColumnModelListener listener)
           
 void columnSelectionChanged(javax.swing.event.ListSelectionEvent arg0)
           
 void createFrom(SorterTableColumnModel other)
           
 void freezeOrder()
           
 javax.swing.table.TableColumn getColumn(int x)
           
 int getColumnCount()
           
 int getColumnIndex(java.lang.Object columnIdentifier)
           
 int getColumnIndexAtX(int XPosition)
           
 int getColumnMargin()
           
 java.util.Enumeration<javax.swing.table.TableColumn> getColumns()
           
 boolean getColumnSelectionAllowed()
           
 int getSelectedColumnCount()
           
 int[] getSelectedColumns()
           
 javax.swing.ListSelectionModel getSelectionModel()
           
 int getTotalColumnWidth()
           
 void moveColumn(int fromIndex, int toIndex)
           
 void removeColumn(javax.swing.table.TableColumn arg0)
           
 void removeColumnModelListener(javax.swing.event.TableColumnModelListener listener)
           
 void setColumnMargin(int arg0)
           
 void setColumnSelectionAllowed(boolean arg0)
           
 void setSelectionModel(javax.swing.ListSelectionModel arg0)
           
 void thawOrder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SorterTableColumnModel

public SorterTableColumnModel(Sortables[] columnHeaders)

SorterTableColumnModel

public SorterTableColumnModel(java.util.ArrayList<Sortables> columnHeaders)
Method Detail

createFrom

public void createFrom(SorterTableColumnModel other)

addColumn

public void addColumn(javax.swing.table.TableColumn arg0)
Specified by:
addColumn in interface javax.swing.table.TableColumnModel

removeColumn

public void removeColumn(javax.swing.table.TableColumn arg0)
Specified by:
removeColumn in interface javax.swing.table.TableColumnModel

moveColumn

public void moveColumn(int fromIndex,
                       int toIndex)
Specified by:
moveColumn in interface javax.swing.table.TableColumnModel

setColumnMargin

public void setColumnMargin(int arg0)
Specified by:
setColumnMargin in interface javax.swing.table.TableColumnModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface javax.swing.table.TableColumnModel

getColumns

public java.util.Enumeration<javax.swing.table.TableColumn> getColumns()
Specified by:
getColumns in interface javax.swing.table.TableColumnModel

getColumnIndex

public int getColumnIndex(java.lang.Object columnIdentifier)
Specified by:
getColumnIndex in interface javax.swing.table.TableColumnModel

getColumn

public javax.swing.table.TableColumn getColumn(int x)
Specified by:
getColumn in interface javax.swing.table.TableColumnModel

getColumnMargin

public int getColumnMargin()
Specified by:
getColumnMargin in interface javax.swing.table.TableColumnModel

getColumnIndexAtX

public int getColumnIndexAtX(int XPosition)
Specified by:
getColumnIndexAtX in interface javax.swing.table.TableColumnModel

getTotalColumnWidth

public int getTotalColumnWidth()
Specified by:
getTotalColumnWidth in interface javax.swing.table.TableColumnModel

setColumnSelectionAllowed

public void setColumnSelectionAllowed(boolean arg0)
Specified by:
setColumnSelectionAllowed in interface javax.swing.table.TableColumnModel

getColumnSelectionAllowed

public boolean getColumnSelectionAllowed()
Specified by:
getColumnSelectionAllowed in interface javax.swing.table.TableColumnModel

getSelectedColumns

public int[] getSelectedColumns()
Specified by:
getSelectedColumns in interface javax.swing.table.TableColumnModel

getSelectedColumnCount

public int getSelectedColumnCount()
Specified by:
getSelectedColumnCount in interface javax.swing.table.TableColumnModel

setSelectionModel

public void setSelectionModel(javax.swing.ListSelectionModel arg0)
Specified by:
setSelectionModel in interface javax.swing.table.TableColumnModel

getSelectionModel

public javax.swing.ListSelectionModel getSelectionModel()
Specified by:
getSelectionModel in interface javax.swing.table.TableColumnModel

addColumnModelListener

public void addColumnModelListener(javax.swing.event.TableColumnModelListener listener)
Specified by:
addColumnModelListener in interface javax.swing.table.TableColumnModel

removeColumnModelListener

public void removeColumnModelListener(javax.swing.event.TableColumnModelListener listener)
Specified by:
removeColumnModelListener in interface javax.swing.table.TableColumnModel

columnSelectionChanged

public void columnSelectionChanged(javax.swing.event.ListSelectionEvent arg0)

freezeOrder

public void freezeOrder()

thawOrder

public void thawOrder()

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.