C# Class ZForge.Controls.XPTable.Sorting.InsertionSorter

An InsertionSort implementation for sorting the Cells contained in a TableModel
Inheritance: SorterBase
Datei anzeigen Open project: zhuangyy/Motion Class Usage Examples

Public Methods

Method Description
InsertionSorter ( TableModel tableModel, int column, IComparer comparer, SortOrder sortOrder ) : System

Initializes a new instance of the InsertionSorter class with the specified TableModel, Column index, IComparer and SortOrder

Sort ( ) : void

Starts sorting the Cells in the TableModel

Method Details

InsertionSorter() public method

Initializes a new instance of the InsertionSorter class with the specified TableModel, Column index, IComparer and SortOrder
public InsertionSorter ( TableModel tableModel, int column, IComparer comparer, SortOrder sortOrder ) : System
tableModel ZForge.Controls.XPTable.Models.TableModel The TableModel that contains the data to be sorted
column int The index of the Column to be sorted
comparer IComparer The IComparer used to sort the Column's Cells
sortOrder SortOrder Specifies how the Column is to be sorted
return System

Sort() public method

Starts sorting the Cells in the TableModel
public Sort ( ) : void
return void