org.gnu.gtk
public interface TreeSortable
Method Summary | |
---|---|
Handle | getHandle()
Get the handle of the object. |
DataColumn | getSortColumn()
Get a DataColumn object representing the currently sorted column. |
SortType | getSortOrder()
Get the current sorting order of the store.
|
int | handleCompareFunc(Handle model, Handle aIter, Handle bIter, int col)
Call-back method invoked by the JNI code when sorting is required. |
void | setSortColumn(DataColumn column, SortType order)
Set the column in the model to sort on. |
void | setSortMethod(TreeIterComparison method, DataColumn column)
Set the class used to sort the list according to the values stored in the
given DataColumn. |
Returns: A DataColumn object representing the currently sorted column or null if the is no column currently sorted.
Returns: A SortType object defining the current sorting order of the store or null if there is no current sort order.