Package | Description |
---|---|
com.sencha.gxt.data.shared |
Contains data related classes.
|
com.sencha.gxt.state.client |
Client side state provider.
|
com.sencha.gxt.widget.core.client.grid | |
com.sencha.gxt.widget.core.client.treegrid |
Modifier and Type | Method and Description |
---|---|
SortDir |
Store.StoreSortInfo.getDirection()
Returns the current sort direction for this sort info.
|
SortDir |
SortInfoBean.getSortDir()
Returns the sort direction.
|
SortDir |
SortInfo.getSortDir()
Returns the sort direction.
|
static SortDir |
SortDir.toggle(SortDir sortDir)
Toggles the given sort direction, that is given one sort direction, it
returns the other.
|
static SortDir |
SortDir.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortDir[] |
SortDir.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Store.StoreSortInfo.setDirection(SortDir direction)
Sets a new sort direction.
|
void |
SortInfoBean.setSortDir(SortDir sortDir)
Sets the sort direction.
|
void |
SortInfo.setSortDir(SortDir sortDir)
Sets the sort direction.
|
static SortDir |
SortDir.toggle(SortDir sortDir)
Toggles the given sort direction, that is given one sort direction, it
returns the other.
|
Constructor and Description |
---|
SortInfoBean(String field,
SortDir sortDir)
Creates a new sort info instance.
|
SortInfoBean(ValueProvider<?,?> valueProvider,
SortDir sortDir)
Creates a new sort info instance.
|
StoreSortInfo(Comparator<? super M> itemComparator,
SortDir direction)
Creates a sort info object based on the given comparator to act on the
item itself.
|
StoreSortInfo(ValueProvider<? super M,V> property,
Comparator<? super V> itemComparator,
SortDir direction)
Creates a sort info object to act on a property of the items and a custom
comparator for that property's type.
|
StoreSortInfo(ValueProvider<? super M,V> property,
SortDir direction)
Convenience constructor for sorting based on a
Comparable
property of items in the store. |
Modifier and Type | Method and Description |
---|---|
SortDir |
GridStateHandler.GridSortState.getSortDir() |
SortDir |
GridStateHandler.GridState.getSortDir() |
Modifier and Type | Method and Description |
---|---|
protected <V> Store.StoreSortInfo<M> |
GridStateHandler.createStoreSortInfo(ListStore<M> ds,
ColumnConfig<M,V> column,
SortDir sortDir) |
void |
GridStateHandler.GridSortState.setSortDir(SortDir dir) |
void |
GridStateHandler.GridState.setSortDir(SortDir sortDir) |
Modifier and Type | Method and Description |
---|---|
protected <V> Store.StoreSortInfo<M> |
GridView.createStoreSortInfo(ColumnConfig<M,V> column,
SortDir sortDir)
Helper method that creates a StoreSortInfo from the given ColumnConfig and sort direction.
|
protected void |
LiveGridView.doSort(int colIndex,
SortDir sortDir) |
protected void |
GroupingView.doSort(int colIndex,
SortDir sortDir) |
protected void |
GridView.doSort(int colIndex,
SortDir sortDir)
Defaults to assume one sort at a time.
|
protected void |
GridView.updateSortIcon(int colIndex,
SortDir dir)
Updates the sort icon for the given column and sort direction.
|
void |
ColumnHeader.updateSortIcon(int colIndex,
SortDir dir)
Updates the sort icon of a column.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TreeGridView.doSort(int colIndex,
SortDir sortDir) |
Copyright © 2018. All rights reserved.