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 TypeMethodDescriptionvoid
addColumn
(TableColumn arg0) void
void
check()
void
void
createFrom
(SorterTableColumnModel other) void
getColumn
(int x) int
int
getColumnIndex
(Object columnIdentifier) int
getColumnIndexAtX
(int XPosition) int
boolean
int
int[]
int
boolean
void
moveColumn
(int fromIndex, int toIndex) void
removeColumn
(TableColumn arg0) void
void
setColumnMargin
(int arg0) void
setColumnSelectionAllowed
(boolean arg0) void
void
setVisible
(Sortables s, boolean on) void
toString()
-
Constructor Details
-
SorterTableColumnModel
-
SorterTableColumnModel
-
-
Method Details
-
isShown
-
toString
-
check
public void check() -
createFrom
-
addColumn
- Specified by:
addColumn
in interfaceTableColumnModel
-
removeColumn
- Specified by:
removeColumn
in interfaceTableColumnModel
-
setVisible
-
moveColumn
public void moveColumn(int fromIndex, int toIndex) - Specified by:
moveColumn
in interfaceTableColumnModel
-
setColumnMargin
public void setColumnMargin(int arg0) - Specified by:
setColumnMargin
in interfaceTableColumnModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in interfaceTableColumnModel
-
getColumns
- Specified by:
getColumns
in interfaceTableColumnModel
-
getColumnIndex
- Specified by:
getColumnIndex
in interfaceTableColumnModel
-
getColumn
- Specified by:
getColumn
in interfaceTableColumnModel
-
getColumnMargin
public int getColumnMargin()- Specified by:
getColumnMargin
in interfaceTableColumnModel
-
getColumnIndexAtX
public int getColumnIndexAtX(int XPosition) - Specified by:
getColumnIndexAtX
in interfaceTableColumnModel
-
getTotalColumnWidth
public int getTotalColumnWidth()- Specified by:
getTotalColumnWidth
in interfaceTableColumnModel
-
setColumnSelectionAllowed
public void setColumnSelectionAllowed(boolean arg0) - Specified by:
setColumnSelectionAllowed
in interfaceTableColumnModel
-
getColumnSelectionAllowed
public boolean getColumnSelectionAllowed()- Specified by:
getColumnSelectionAllowed
in interfaceTableColumnModel
-
getSelectedColumns
public int[] getSelectedColumns()- Specified by:
getSelectedColumns
in interfaceTableColumnModel
-
getSelectedColumnCount
public int getSelectedColumnCount()- Specified by:
getSelectedColumnCount
in interfaceTableColumnModel
-
setSelectionModel
- Specified by:
setSelectionModel
in interfaceTableColumnModel
-
getSelectionModel
- Specified by:
getSelectionModel
in interfaceTableColumnModel
-
addColumnModelListener
- Specified by:
addColumnModelListener
in interfaceTableColumnModel
-
removeColumnModelListener
- Specified by:
removeColumnModelListener
in interfaceTableColumnModel
-
columnSelectionChanged
-
freezeOrder
public void freezeOrder() -
thawOrder
public void thawOrder()
-