Package edu.umd.cs.findbugs.gui2
Class SorterTableColumnModel
java.lang.Object
edu.umd.cs.findbugs.gui2.SorterTableColumnModel
- All Implemented Interfaces:
TableColumnModel
Handles the sorting order and informs the treeModel when changes are
necessary
- Author:
- Dan
-
Constructor Summary
ConstructorsConstructorDescriptionSorterTableColumnModel(Sortables[] columnHeaders) SorterTableColumnModel(Collection<Sortables> columnHeaders) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumn(TableColumn arg0) voidvoidcheck()voidvoidcreateFrom(SorterTableColumnModel other) voidgetColumn(int x) intintgetColumnIndex(Object columnIdentifier) intgetColumnIndexAtX(int XPosition) intbooleanintint[]intbooleanvoidmoveColumn(int fromIndex, int toIndex) voidremoveColumn(TableColumn arg0) voidvoidsetColumnMargin(int arg0) voidsetColumnSelectionAllowed(boolean arg0) voidvoidsetVisible(Sortables s, boolean on) voidtoString()
-
Constructor Details
-
SorterTableColumnModel
-
SorterTableColumnModel
-
-
Method Details
-
isShown
-
toString
-
check
public void check() -
createFrom
-
addColumn
- Specified by:
addColumnin interfaceTableColumnModel
-
removeColumn
- Specified by:
removeColumnin interfaceTableColumnModel
-
setVisible
-
moveColumn
public void moveColumn(int fromIndex, int toIndex) - Specified by:
moveColumnin interfaceTableColumnModel
-
setColumnMargin
public void setColumnMargin(int arg0) - Specified by:
setColumnMarginin interfaceTableColumnModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceTableColumnModel
-
getColumns
- Specified by:
getColumnsin interfaceTableColumnModel
-
getColumnIndex
- Specified by:
getColumnIndexin interfaceTableColumnModel
-
getColumn
- Specified by:
getColumnin interfaceTableColumnModel
-
getColumnMargin
public int getColumnMargin()- Specified by:
getColumnMarginin interfaceTableColumnModel
-
getColumnIndexAtX
public int getColumnIndexAtX(int XPosition) - Specified by:
getColumnIndexAtXin interfaceTableColumnModel
-
getTotalColumnWidth
public int getTotalColumnWidth()- Specified by:
getTotalColumnWidthin interfaceTableColumnModel
-
setColumnSelectionAllowed
public void setColumnSelectionAllowed(boolean arg0) - Specified by:
setColumnSelectionAllowedin interfaceTableColumnModel
-
getColumnSelectionAllowed
public boolean getColumnSelectionAllowed()- Specified by:
getColumnSelectionAllowedin interfaceTableColumnModel
-
getSelectedColumns
public int[] getSelectedColumns()- Specified by:
getSelectedColumnsin interfaceTableColumnModel
-
getSelectedColumnCount
public int getSelectedColumnCount()- Specified by:
getSelectedColumnCountin interfaceTableColumnModel
-
setSelectionModel
- Specified by:
setSelectionModelin interfaceTableColumnModel
-
getSelectionModel
- Specified by:
getSelectionModelin interfaceTableColumnModel
-
addColumnModelListener
- Specified by:
addColumnModelListenerin interfaceTableColumnModel
-
removeColumnModelListener
- Specified by:
removeColumnModelListenerin interfaceTableColumnModel
-
columnSelectionChanged
-
freezeOrder
public void freezeOrder() -
thawOrder
public void thawOrder()
-