* [ 1619919 ] Add Sort Indicator for Table

This commit is contained in:
Heng Sin Low 2007-02-08 06:39:15 +00:00
parent 87733c7a47
commit 476b8db71b
1 changed files with 14 additions and 0 deletions

View File

@ -326,5 +326,19 @@ public class CTable extends JTable
//Update row height //Update row height
setRowHeight(getFont().getSize() + 8); setRowHeight(getFont().getSize() + 8);
} }
/**
* @return column index
*/
public int getSortColumn() {
return p_lastSortIndex;
}
/**
* @return boolean
*/
public boolean isSortAscending() {
return p_asc;
}
} // CTable } // CTable