Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.gtk.TreeSortableHelper
public class TreeSortableHelper
extends java.lang.Object
TreeSortable
interface. Applications normally shouldn't use this class.
Method Summary | |
static TreeIterComparison |
|
static DataColumn |
|
static SortType |
|
static Type |
|
static void |
|
static void |
|
public static TreeIterComparison getMethod(TreeSortable sortable, int column)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Get the TreeIterComparison object stored for this column. For internal use only.
public static DataColumn getSortColumn(TreeSortable sortable)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Get a DataColumn object representing the currently sorted column. This is not the same DataColumn used to create the store. It is only of type DataColumn (not DataColumnString, etc). It can be compared with another DataColumn object using theDataColumn.equals(DataColumn)
method.
- Returns:
- A DataColumn object representing the currently sorted column or null if there is no column currently sorted.
public static SortType getSortOrder(TreeSortable sortable)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Get the current sorting order of the store.
- Returns:
- A SortType object defining the current sorting order of the store or null if there is no current sort order.
public static Type getType()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.
public static void setSortColumn(TreeSortable sortable, DataColumn column, SortType order)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Set the column in the list to sort on.
public static void setSortMethod(TreeSortable sortable, TreeIterComparison method, DataColumn column)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Set the class used to sort the list according to the values stored in the given DataColumn. "handleCompareFunc" is part of the TreeSortable interface.