|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.core.BaseConfig
com.gwtext.client.widgets.tree.TreeSorterConfig
public class TreeSorterConfig
Configuration class for TreeSorter
.
Field Summary |
---|
Fields inherited from class com.gwtext.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
TreeSorterConfig()
|
Method Summary | |
---|---|
void |
setCaseSensitive(boolean caseSensitive)
True for case sensitive sort (defaults to false) |
void |
setDir(SortDir dir)
The direction to sort (asc or desc) (defaults to asc). |
void |
setFolderSort(boolean folderSort)
True to sort leaf nodes under non leaf nodes. |
void |
setLeafAttr(java.lang.String leafAttr)
The attribute used to determine leaf nodes in folder sort (defaults to "leaf") |
void |
setProperty(java.lang.String property)
The named attribute on the node to sort by (defaults to text). |
void |
setSortType(TreeSortFunction sortType)
A custom function used to convert node values before sorting. |
Methods inherited from class com.gwtext.client.core.JsObject |
---|
getJsObj, getProperties, isCreated, setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeSorterConfig()
Method Detail |
---|
public void setCaseSensitive(boolean caseSensitive)
caseSensitive
- true for case sensitive sortpublic void setDir(SortDir dir)
dir
- the sort directionpublic void setFolderSort(boolean folderSort)
folderSort
- true to sort leaf nodes under non leaf nodes.public void setLeafAttr(java.lang.String leafAttr)
leafAttr
- the leaf attributepublic void setProperty(java.lang.String property)
property
- the sort propertypublic void setSortType(TreeSortFunction sortType)
sortType
- the sort function
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |