## Uses of Interface
org.zkoss.zul.TreeModel

- Packages that use TreeModel
  Package | Description
  --- | ---
  org.zkoss.clientbind |
  org.zkoss.stateless.state |
  org.zkoss.zkmax.zul |
  org.zkoss.zul |
  org.zkoss.zul.event |

- - ### Uses of TreeModel in org.zkoss.clientbind

    Fields in org.zkoss.clientbind with type parameters of type TreeModel
    Modifier and Type | Field | Description
    --- | --- | ---
    `java.util.Map<java.lang.Object,​TreeModel>` | ClientBindComposer.`modelToTreeModel` |

  - ### Uses of TreeModel in org.zkoss.stateless.state

    Methods in org.zkoss.stateless.state that return TreeModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `TreeModel<DataT>` | ICascaderController.`getModel()` |
    `TreeModel<DataT>` | IOrganigramController.`getModel()` |
    `TreeModel<DataT>` | ITreeController.`getModel()` |

    Methods in org.zkoss.stateless.state with parameters of type TreeModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <D> ICascaderController<D>` | ICascaderController.`of​(ICascader owner, TreeModel<D> model)` | Returns the controller instance with the given `cascader`, and `TreeModel`.
    `static <D> ICascaderController<D>` | ICascaderController.`of​(ICascader owner, TreeModel<D> model, CheckedFunction2<java.lang.Object,​java.lang.Integer,​java.lang.String> renderer)` | Returns the controller instance with the given `cascader`, and `TreeModel`.
    `static <D> IOrganigramController<D>` | IOrganigramController.`of​(IOrganigram owner, TreeModel<D> model)` | Returns the controller instance with the given `organigram`
    `static <D> IOrganigramController<D>` | IOrganigramController.`of​(IOrganigram owner, TreeModel<D> model, CheckedFunction2<D,​java.lang.Integer,​IOrgitem> renderer)` | Returns the controller instance with the given `organigram`
    `static <D> ITreeController<D>` | ITreeController.`of​(ITree owner, TreeModel<D> model)` | Returns the controller instance with the given `tree`
    `static <D> ITreeController<D>` | ITreeController.`of​(ITree owner, TreeModel<D> model, CheckedFunction2<D,​java.lang.Integer,​ITreeitem> renderer)` | Returns the controller instance with the given `tree`
    `void` | ICascaderController.`setModel​(TreeModel<DataT> model)` |
    `void` | IOrganigramController.`setModel​(TreeModel<DataT> model)` |
    `void` | ITreeController.`setModel​(TreeModel<DataT> model)` |

  - ### Uses of TreeModel in org.zkoss.zkmax.zul

    Classes in org.zkoss.zkmax.zul that implement TreeModel
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DefaultTristateTreeModel<E>` | A simple tristate tree data model that uses `TreeNode` to represent a tree.

    Methods in org.zkoss.zkmax.zul that return TreeModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `TreeModel<E>` | Cascader.`getModel()` | Returns the model associated with this cascader, or null if this cascader is not associated with any tree data model.
    `<T> TreeModel<T>` | Organigram.`getModel()` | Returns the tree model associated with this Organigram, or null if this Organigram is not associated with any tree data model.

    Methods in org.zkoss.zkmax.zul with parameters of type TreeModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Cascader.`setModel​(TreeModel model)` | Sets the tree model associated with this cascader.
    `void` | Organigram.`setModel​(TreeModel<?> model)` | Sets the tree model associated with this Organigram.

  - ### Uses of TreeModel in org.zkoss.zul

    Classes in org.zkoss.zul that implement TreeModel
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractTreeModel<E>` | A skeletal implementation for `TreeModel`.
    `class` | `DefaultTreeModel<E>` | A simple tree data model that uses `TreeNode` to represent a tree.

    Methods in org.zkoss.zul that return TreeModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T> TreeModel<T>` | Tree.`getModel()` | Returns the list model associated with this tree, or null if this tree is not associated with any tree data model.

    Methods in org.zkoss.zul with parameters of type TreeModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Tree.`setModel​(TreeModel<?> model)` | Sets the tree model associated with this tree.

  - ### Uses of TreeModel in org.zkoss.zul.event

    Methods in org.zkoss.zul.event that return TreeModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `TreeModel` | TreeDataEvent.`getModel()` | Returns the tree model that fires this event.

    Constructors in org.zkoss.zul.event with parameters of type TreeModel
    Constructor | Description
    --- | ---
    `TreeDataEvent​(TreeModel model, int type, int[] nodePath, int indexFrom, int indexTo)` | Constructor.
    `TreeDataEvent​(TreeModel model, int type, int[] nodePath, int indexFrom, int indexTo, int[] affectedPath)` | Constructor.
    `TreeDataEvent​(TreeModel model, int type, int[] nodePath, int indexFrom, int indexTo, int[][] affectedPaths)` | Constructor.