org.extremecomponents.table.model
Class SortHandler
java.lang.Object
  
org.extremecomponents.table.model.SortHandler
- Direct Known Subclasses: 
 - SortHandler
 
- public class SortHandler
- extends java.lang.Object
  
Deal with the sorting.
- Author:
 
  - Jeff Johnston
 
 
 
| 
Method Summary | 
 boolean | 
canSort(java.lang.String property)
 
          Find out if the table is trying to sort. | 
 java.lang.String | 
getSortableProperty()
 
          Find the column that is doing the sorting. | 
 void | 
sort(java.util.List rows)
 
          Take the sortable property and then sort the Collection | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SORT_ASC_
public static final java.lang.String SORT_ASC_
- See Also:
 - Constant Field Values
 
SORT_DESC_
public static final java.lang.String SORT_DESC_
- See Also:
 - Constant Field Values
 
SORT_DEFAULT_
public static final java.lang.String SORT_DEFAULT_
- See Also:
 - Constant Field Values
 
SORT_ASC_IMAGE
public static final java.lang.String SORT_ASC_IMAGE
- See Also:
 - Constant Field Values
 
SORT_DESC_IMAGE
public static final java.lang.String SORT_DESC_IMAGE
- See Also:
 - Constant Field Values
 
SortHandler
public SortHandler(TableModel model)
canSort
public boolean canSort(java.lang.String property)
- Find out if the table is trying to sort.
 
 
getSortableProperty
public java.lang.String getSortableProperty()
- Find the column that is doing the sorting. Use the property to key off of.
 
 
sort
public void sort(java.util.List rows)
- Take the sortable property and then sort the Collection
 
 
Copyright © 2004 sourceforge. All Rights Reserved.