java.lang.Object | |
↳ | com.google.gwt.user.cellview.client.ColumnSortList |
An ordered list containing the sort history of Column
s in a table.
The 0th item is the ColumnSortList.ColumnSortInfo
of the most recently sorted
column.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ColumnSortList.ColumnSortInfo | Information about the sort order of a specific column in a table. | ||||||||||
ColumnSortList.Delegate | The delegate that handles modifications to the list. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new
ColumnSortList without a ColumnSortList.Delegate . | |||||||||||
Construct a new
ColumnSortList with the specified ColumnSortList.Delegate . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Removes all of the elements from this list.
| |||||||||||
Check if the specified object equals this list.
| |||||||||||
Get the
ColumnSortList.ColumnSortInfo at the specified index. | |||||||||||
Inserts the specified
ColumnSortList.ColumnSortInfo at the specified position in
this list. | |||||||||||
Push a
Column onto the list at index zero, setting ascending to
true. | |||||||||||
Push a
ColumnSortList.ColumnSortInfo onto the list at index zero. | |||||||||||
Remove a
ColumnSortList.ColumnSortInfo from the list. | |||||||||||
Get the size of the list.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Construct a new ColumnSortList
with the specified ColumnSortList.Delegate
.
delegate | the ColumnSortList.Delegate to inform of modifications
|
---|
Removes all of the elements from this list.
Check if the specified object equals this list. Two ColumnSortList
are equals if they are the same size, and all entries are
equals
and in the same order.
Inserts the specified ColumnSortList.ColumnSortInfo
at the specified position in
this list. If the column already exists in the sort info, the index will be
adjusted to account for any removed entries.
sortInfo | the ColumnSortList.ColumnSortInfo to add
|
---|
Push a Column
onto the list at index zero, setting ascending to
true. If the column already exists, it will be removed from its current
position and placed at the start of the list. If the Column is already at
the start of the list, its ascending bit will be flipped (ascending to
descending and vice versa).
column | the Column to push |
---|
ColumnSortList.ColumnSortInfo
that was pushed
Push a ColumnSortList.ColumnSortInfo
onto the list at index zero. If the column
already exists, it will be removed from its current position and placed at
the start of the list.
sortInfo | the ColumnSortList.ColumnSortInfo to push
|
---|
Remove a ColumnSortList.ColumnSortInfo
from the list.
sortInfo | the ColumnSortList.ColumnSortInfo to remove
|
---|
Get the size of the list.
ColumnSortList.ColumnSortInfo
in the list