|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.inmethod.grid.common.GridSortState<S>
public class GridSortState<S>
An IGridSortState implementation.
IGridSortState,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.inmethod.grid.IGridSortState |
|---|
IGridSortState.Direction, IGridSortState.ISortStateColumn<S> |
| Constructor Summary | |
|---|---|
GridSortState(AbstractGrid<?,?,S> grid)
Constructor. |
|
| Method Summary | |
|---|---|
void |
clearSortState()
Resets the entire sort state. |
void |
clearSortState(S propertyName)
Clears the sort state for given property. |
List<IGridSortState.ISortStateColumn<S>> |
getColumns()
Returns all IGridSortState.ISortStateColumn instances in this state. |
AbstractGrid<?,?,S> |
getGrid()
|
IGridSortState.ISortStateColumn<S> |
getSortStateForProperty(S propertyName)
Returns the IGridSortState.ISortStateColumn for given property or null if there is no
such entry. |
void |
setSortState(S propertyName,
IGridSortState.Direction direction)
Sets the sort direction for given property name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridSortState(AbstractGrid<?,?,S> grid)
grid - the related grid, not null| Method Detail |
|---|
public void clearSortState()
public void clearSortState(S propertyName)
propertyName - public IGridSortState.ISortStateColumn<S> getSortStateForProperty(S propertyName)
IGridSortState.ISortStateColumn for given property or null if there is no
such entry.
propertyName -
IGridSortState.ISortStateColumn for given property or null if there is no
such entry
public void setSortState(S propertyName,
IGridSortState.Direction direction)
propertyName - direction - public List<IGridSortState.ISortStateColumn<S>> getColumns()
IGridSortState.ISortStateColumn instances in this state.
getColumns in interface IGridSortState<S>IGridSortState.ISortStateColumn instances in this statepublic AbstractGrid<?,?,S> getGrid()
getGrid in interface IGridSortState<S>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||