public abstract class ITableRowSorter
extends javax.swing.table.TableRowSorter<javax.swing.table.TableModel>
TableRowSorter
which allows setting default sorting order of columns.ITable.getXTableRowSorter()
Constructor and Description |
---|
ITableRowSorter(javax.swing.table.TableModel model)
Creates a new
ITableRowSorter . |
Modifier and Type | Method and Description |
---|---|
abstract void |
setColumnDefaultDesc(int column,
boolean defaultDesc)
Sets whether the specified column is to be sorted descendant by default.
|
abstract void |
setColumnDefaultDescs(boolean defaultDesc,
int... columns)
Sets whether the specified columns are to be sorted descendant by default.
|
getComparator, getStringConverter, setModel, setStringConverter, useToString
allRowsChanged, convertRowIndexToModel, convertRowIndexToView, getMaxSortKeys, getModel, getModelRowCount, getModelWrapper, getRowFilter, getSortKeys, getSortsOnUpdates, getViewRowCount, isSortable, modelStructureChanged, rowsDeleted, rowsInserted, rowsUpdated, rowsUpdated, setComparator, setMaxSortKeys, setModelWrapper, setRowFilter, setSortable, setSortKeys, setSortsOnUpdates, sort, toggleSortOrder
public ITableRowSorter(javax.swing.table.TableModel model)
ITableRowSorter
.model
- reference to the table modelpublic abstract void setColumnDefaultDescs(boolean defaultDesc, int... columns)
defaultDesc
- if true, the columns will be sorted descending by default; else the columns will be sorted ascendingcolumns
- columns whose sorting property to be setpublic abstract void setColumnDefaultDesc(int column, boolean defaultDesc)
column
- column whose sorting property to be setdefaultDesc
- if true, the column will be sorted descending by default; else the column will be sorted ascending
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.