|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.gtk.TreeSortableHelper
public class TreeSortableHelper
Internal helper class for classes that implement the TreeSortable
interface. Applications normally shouldn't use this class.
Method Summary | |
---|---|
static TreeIterComparison |
getMethod(TreeSortable sortable,
int column)
Get the TreeIterComparison object stored for this column. |
static DataColumn |
getSortColumn(TreeSortable sortable)
Get a DataColumn object representing the currently sorted column. |
static SortType |
getSortOrder(TreeSortable sortable)
Get the current sorting order of the store. |
static Type |
getType()
Retrieve the runtime type used by the GLib library. |
static void |
setSortColumn(TreeSortable sortable,
DataColumn column,
SortType order)
Set the column in the list to sort on. |
static void |
setSortMethod(TreeSortable sortable,
TreeIterComparison method,
DataColumn column)
Set the class used to sort the list according to the values stored in the given DataColumn. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setSortColumn(TreeSortable sortable, DataColumn column, SortType order)
public static DataColumn getSortColumn(TreeSortable sortable)
DataColumn.equals(org.gnu.gtk.DataColumn)
method.
public static SortType getSortOrder(TreeSortable sortable)
public static void setSortMethod(TreeSortable sortable, TreeIterComparison method, DataColumn column)
"handleCompareFunc" is part of the TreeSortable interface.
public static TreeIterComparison getMethod(TreeSortable sortable, int column)
public static Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |