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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArrayList<TableColumn> private DefaultListSelectionModelprivate boolean(package private) static booleanprivate final ArrayList<TableColumnModelListener> -
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) intbooleangetOrder()intint[]intbooleanprivate TableColumnmakeTableColumn(int x, Sortables c) voidmoveColumn(int fromIndex, int toIndex) private voidvoidremoveColumn(TableColumn arg0) voidvoidsetColumnMargin(int arg0) voidsetColumnSelectionAllowed(boolean arg0) voidvoidsetVisible(Sortables s, boolean on) voidtoString()
-
Field Details
-
order
-
shown
-
columnList
-
dlsm
-
watchers
-
frozen
private boolean frozen -
shownError
static boolean shownError
-
-
Constructor Details
-
SorterTableColumnModel
-
SorterTableColumnModel
-
-
Method Details
-
isShown
-
toString
-
check
public void check() -
makeTableColumn
-
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
-
getOrder
-
getOrderBeforeDivider
-
getOrderAfterDivider
-
orderUpdate
private void orderUpdate() -
freezeOrder
public void freezeOrder() -
thawOrder
public void thawOrder()
-