T
- S
- the type of the sorting parameterpublic abstract class SortableTreeProvider<T,S> extends Object implements ISortableTreeProvider<T,S>
SingleSortState
object.Constructor and Description |
---|
SortableTreeProvider() |
Modifier and Type | Method and Description |
---|---|
void |
detach()
Detaches model after use.
|
SortParam<S> |
getSort()
Returns current sort state
|
ISortState<S> |
getSortState() |
void |
setSort(S property,
boolean ascending)
Sets the current sort state
|
void |
setSort(SortParam<S> param)
Sets the current sort state
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getRoots, hasChildren, model
public final ISortState<S> getSortState()
getSortState
in interface ISortStateLocator<S>
ISortStateLocator.getSortState()
public void setSort(SortParam<S> param)
param
- parameter containing new sorting informationpublic void setSort(S property, boolean ascending)
property
- sort propertyascending
- sort directionpublic void detach()
IDetachable
detach
in interface IDetachable
IDetachable.detach()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.