hoplugins.transfers.ui
Class TeamTransferSorter

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byhoplugins.commons.ui.sorter.AbstractTableSorter
          extended byhoplugins.commons.ui.DefaultTableSorter
              extended byhoplugins.transfers.ui.TeamTransferSorter
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class TeamTransferSorter
extends hoplugins.commons.ui.DefaultTableSorter

Sorter for the team transfer table.

Author:
Boy van der Werf
See Also:
Serialized Form

Field Summary
 
Fields inherited from class hoplugins.commons.ui.sorter.AbstractTableSorter
ASCENDING, COMPARABLE_COMAPRATOR, DESCENDING, LEXICAL_COMPARATOR, NOT_SORTED, tableModel
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
TeamTransferSorter(javax.swing.table.TableModel model)
          Create a TransferTypeSorter
 
Method Summary
 java.util.Comparator getCustomComparator(int column)
          Method that define Custom Comparator
 
Methods inherited from class hoplugins.commons.ui.DefaultTableSorter
hasHeaderLine, minSortableColumn
 
Methods inherited from class hoplugins.commons.ui.sorter.AbstractTableSorter
cancelSorting, getColumnClass, getColumnCount, getColumnName, getComparator, getHeaderRendererIcon, getRowCount, getSortingColumns, getSortingStatus, getTableHeader, getTableModel, getValueAt, isCellEditable, isSorting, modelIndex, setColumnComparator, setSortingStatus, setTableHeader, setTableModel, setValueAt
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeamTransferSorter

public TeamTransferSorter(javax.swing.table.TableModel model)
Create a TransferTypeSorter

Parameters:
model - Table model to sort.
Method Detail

getCustomComparator

public final java.util.Comparator getCustomComparator(int column)
Method that define Custom Comparator

Parameters:
column - column to sort
Returns:
A custom comparator if any, null if not specified


Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.