* [ 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

@ -327,4 +327,18 @@ public class CTable extends JTable
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