메소드 | 설명 | |
---|---|---|
Sort ( ) : void |
Starts sorting the Cells in the TableModel
|
|
SorterBase ( |
Initializes a new instance of the SorterBase class with the specified TableModel, Column index, IComparer and SortOrder
|
메소드 | 설명 | |
---|---|---|
Compare ( |
Compares two rows and returns a value indicating whether one is less than, equal to or greater than the other. Takes into account the sort order.
|
|
CompareRows ( |
Compares two rows and returns a value indicating whether one is less than, equal to or greater than the other. Compares the given rows without considering parent/sub-rows.
|
|
CompareRows ( |
Compares two rows and returns a value indicating whether one is less than, equal to or greater than the other. Compares the given rows without considering parent/sub-rows.
|
|
Set ( int a, |
Replaces the Row in the TableModel located at index a with the specified Row
|
|
Set ( int a, int b ) : void |
Replaces the Row in the TableModel located at index a with the Row located at index b
|
|
Swap ( int a, int b ) : void |
Swaps the Rows in the TableModel at the specified indexes
|
protected Compare ( |
||
row1 | First row to compare | |
row2 | Second row to compare | |
리턴 | int |
protected CompareRows ( |
||
row1 | ||
row2 | ||
리턴 | int |
protected CompareRows ( |
||
row1 | ||
row2 | ||
column | int | |
comparer | IComparer | |
리턴 | int |
protected Set ( int a, |
||
a | int | The index of the Row that will be replaced |
row | The Row that will be moved to index a | |
리턴 | void |
protected Set ( int a, int b ) : void | ||
a | int | The index of the Row that will be replaced |
b | int | The index of the Row that will be moved to index a |
리턴 | void |
public SorterBase ( |
||
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 |
리턴 | System |
protected Swap ( int a, int b ) : void | ||
a | int | The index of the first Row to be swapped |
b | int | The index of the second Row to be swapped |
리턴 | void |