org.jdesktop.swingx.decorator
Class ShuttleSorter

java.lang.Object
  extended by org.jdesktop.swingx.decorator.Filter
      extended by org.jdesktop.swingx.decorator.Sorter
          extended by org.jdesktop.swingx.decorator.ShuttleSorter

public class ShuttleSorter
extends Sorter

Pluggable sorting filter.

Author:
Ramesh Gupta

Constructor Summary
ShuttleSorter()
           
ShuttleSorter(int col, boolean ascending)
           
ShuttleSorter(int col, boolean ascending, java.util.Comparator comparator)
           
 
Method Summary
 int getSize()
          Returns the number of records that remain in this filter's output ("view") after the input records have been filtered.
 
Methods inherited from class org.jdesktop.swingx.decorator.Sorter
getComparator, getSortKey, getSortOrder, isAscending, setAscending, setComparator, setSortKey, toggle
 
Methods inherited from class org.jdesktop.swingx.decorator.Filter
convertRowIndexToModel, convertRowIndexToView, getColumnIndex, getColumnName, getStringAt, getValueAt, isCellEditable, refresh, setColumnIndex, setValueAt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShuttleSorter

public ShuttleSorter()

ShuttleSorter

public ShuttleSorter(int col,
                     boolean ascending)

ShuttleSorter

public ShuttleSorter(int col,
                     boolean ascending,
                     java.util.Comparator comparator)
Method Detail

getSize

public int getSize()
Description copied from class: Filter
Returns the number of records that remain in this filter's output ("view") after the input records have been filtered.

Specified by:
getSize in class Filter
Returns:
the number of records that remain in this filter's output ("view") after the input records have been filtered