org.gnu.gtk
Class TreeSortableHelper

java.lang.Object
  extended by org.gnu.gtk.TreeSortableHelper

Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may in the future have an equivalent in java-gnome 4.0, try looking for org.gnome.gtk.TreeSortableHelper. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

public class TreeSortableHelper
extends java.lang.Object

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)
          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.
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.
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.
static org.gnu.glib.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.
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.
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setSortColumn

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.


getSortColumn

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 the DataColumn.equals(org.gnu.gtk.DataColumn) method.

Returns:
A DataColumn object representing the currently sorted column or null if there is no column currently sorted.

getSortOrder

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.

setSortMethod

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.


getMethod

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.


getType

public static org.gnu.glib.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.