|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.util.tablemodels.SortedColumnInfo
public class SortedColumnInfo
SortedColumnInfo class provides information about sorted column.
SortedTableModel.getSortingColumns()
,
SortedTableModel.setSortingColumns(java.util.List)
Constructor Summary | |
---|---|
SortedColumnInfo(int columnIndex,
boolean ascending)
Creates SortedColumnInfo object with specified
columnIndex and sort order. |
Method Summary | |
---|---|
int |
getColumnIndex()
Returns model column index. |
boolean |
isAscending()
Returns columns sort order |
protected void |
setAscending(boolean ascending)
Specifies column sort order. |
protected void |
setColumnIndex(int columnIndex)
Specifies model column index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortedColumnInfo(int columnIndex, boolean ascending)
SortedColumnInfo
object with specified
columnIndex
and sort order.
columnIndex
- model column indexascending
- true
to set ascending sort order,
false
to set descending sort orderSortedTableModel.setSortingColumns(java.util.List)
Method Detail |
---|
public int getColumnIndex()
protected void setColumnIndex(int columnIndex)
SortedTableModel.getSortingColumns()
because this
data is used for internal purpose.
columnIndex
- model column indexpublic boolean isAscending()
true
if sort order ascending,
false
if sort order descendingprotected void setAscending(boolean ascending)
SortedTableModel.getSortingColumns()
because this
data is used for internal purpose.
ascending
- true
to set ascending sort order,
false
to set descending sort order
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |