|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.psu.geovista.app.spreadsheet.table.TableColumnSort
| Constructor Summary | |
TableColumnSort(SSTableModel tm)
|
|
| Method Summary | |
void |
clearSort()
clear all sort of the table |
java.awt.Point |
getCellPointAt(int vx,
int vy)
Given a cell point in sortModel, return it position in real Model |
java.util.Vector |
getColumnSort(int col)
Return the sort vector for the column with given index(in model) if not vector exist for the index, set null for that index in sorts it means that column is not sorted(thus no corresponding vector in sorts) |
SortRange |
getSortRange()
|
java.util.Vector |
getSorts()
|
boolean |
isTableSort()
return true if sort apply to any range of the table |
void |
setTableSort(boolean tableSort)
|
static void |
showVector(java.util.Vector v)
Select a column |
void |
sortColumns(int col,
int[] cols,
boolean ascending)
sort column |
void |
sortRange(int col,
int[] rows,
int[] cols,
boolean ascending)
sort Range |
void |
sortRows(int col,
int[] rows,
boolean ascending)
|
void |
sortTable(int col,
boolean ascending)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TableColumnSort(SSTableModel tm)
| Method Detail |
public SortRange getSortRange()
public java.util.Vector getColumnSort(int col)
public void sortRows(int col,
int[] rows,
boolean ascending)
public void sortTable(int col,
boolean ascending)
public void sortColumns(int col,
int[] cols,
boolean ascending)
col - based on which sorting is donecols - sorting apply only to those columns
public void sortRange(int col,
int[] rows,
int[] cols,
boolean ascending)
col - based on which sorting is donecols - sorting apply only to those columns
public java.awt.Point getCellPointAt(int vx,
int vy)
vx - sortModel 's x . For table view, it is just Model xpublic static void showVector(java.util.Vector v)
public java.util.Vector getSorts()
public boolean isTableSort()
public void setTableSort(boolean tableSort)
public void clearSort()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||