| |
|
| com.gwtext.client.widgets.Editor com.gwtext.client.widgets.tree.TreeEditor
Method Summary | |
native protected JavaScriptObject | create(JavaScriptObject treePanel, JavaScriptObject field) | public void | setCls(String cls) | public void | setEditDelay(int editDelay) The edit delay in milliseconds. | public void | setMaxWidth(int maxWidth) The maximum width in pixels of the editor field (defaults to 250). | public void | setShim(boolean shim) True to shim the editor if selects/iframes could be displayed beneath it (defaults to false). |
TreeEditor | public TreeEditor(TreePanel treePanel, Field field)(Code) | | Create an editable tree using the specified Field as the editor.
Parameters: treePanel - the TreePanel Parameters: field - the field |
create | native protected JavaScriptObject create(JavaScriptObject treePanel, JavaScriptObject field)(Code) | | |
setCls | public void setCls(String cls)(Code) | | CSS class to apply to the editor (defaults to "x-small-editor x-tree-editor")
Parameters: cls - the CSS class |
setEditDelay | public void setEditDelay(int editDelay)(Code) | | The edit delay in milliseconds. Default is 350ms.
Parameters: editDelay - the edit delay |
setMaxWidth | public void setMaxWidth(int maxWidth)(Code) | | The maximum width in pixels of the editor field (defaults to 250). Note that if the maxWidth would exceed the
containing tree element's size, it will be automatically limited for you to the container width, taking scroll and client offsets into account prior to each edit.
Parameters: maxWidth - the max width |
setShim | public void setShim(boolean shim)(Code) | | True to shim the editor if selects/iframes could be displayed beneath it (defaults to false).
Parameters: shim - true to shim |
|
|
|