* [ 1619919 ] Add Sort Indicator for Table
This commit is contained in:
parent
87733c7a47
commit
476b8db71b
|
@ -326,5 +326,19 @@ public class CTable extends JTable
|
|||
//Update row height
|
||||
setRowHeight(getFont().getSize() + 8);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return column index
|
||||
*/
|
||||
public int getSortColumn() {
|
||||
return p_lastSortIndex;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return boolean
|
||||
*/
|
||||
public boolean isSortAscending() {
|
||||
return p_asc;
|
||||
}
|
||||
|
||||
} // CTable
|
||||
|
|
Loading…
Reference in New Issue