## Uses of Interface
org.zkoss.stateless.sul.ITreeitem

- Packages that use ITreeitem
  Package | Description
  --- | ---
  org.zkoss.stateless.state |
  org.zkoss.stateless.sul |

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

    Methods in org.zkoss.stateless.state that return types with arguments of type ITreeitem
    Modifier and Type | Method | Description
    --- | --- | ---
    `CheckedFunction2<DataT,​java.lang.Integer,​ITreeitem>` | ITreeController.`getRenderer()` |

    Method parameters in org.zkoss.stateless.state with type arguments of type ITreeitem
    Modifier and Type | Method | Description
    --- | --- | ---
    `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` | ITreeController.`setRenderer​(CheckedFunction2<DataT,​java.lang.Integer,​ITreeitem> renderer)` |

  - ### Uses of ITreeitem in org.zkoss.stateless.sul

    Fields in org.zkoss.stateless.sul declared as ITreeitem
    Modifier and Type | Field | Description
    --- | --- | ---
    `static ITreeitem` | ITreeitem.`DEFAULT` | Constant for default attributes of this immutable component.

    Methods in org.zkoss.stateless.sul that return ITreeitem
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ITreeitem` | ITreeitemCtrl.`from​(Treeitem instance)` |
    `static ITreeitem` | ITreeitem.`of​(java.lang.String label)` | Returns the instance with the given label.
    `static ITreeitem` | ITreeitem.`of​(java.lang.String label, java.lang.Iterable<? extends ITreeitem> items)` | Returns the instance with the given label and all sublevel items.
    `static ITreeitem` | ITreeitem.`of​(java.lang.String label, ITreeitem... items)` | Returns the instance with the given label and all sublevel items.
    `static ITreeitem` | ITreeitem.`ofId​(java.lang.String id)` | Returns the instance with the given id.
    `static ITreeitem` | ITreeitem.`ofTreecells​(java.lang.Iterable<? extends ITreecell<IAnyGroup>> treecells)` | Returns the instance with the given tree cells.
    `static ITreeitem` | ITreeitem.`ofTreecells​(ITreecell<IAnyGroup>... treecells)` | Returns the instance with the given tree cells.
    `static ITreeitem` | ITreeitem.`ofTreerow​(ITreerow treerow)` | Returns the instance with the given treerow.
    `default ITreeitem` | ITreeitem.`withAllComponents​(java.lang.Iterable<? extends ITreeitemComposite> elements)` |
    `default ITreeitem` | ITreeitem.`withHflex​(java.lang.String hflex)` | To control the size of Treeitem related components, please refer to `ITree` and `ITreecol` instead.
    `ITreeitem` | ITreeitem.`withImage​(java.lang.String image)` | Returns a copy of `this` immutable component with the specified `image`.
    `ITreeitem` | ITreeitem.`withIndex​(int index)` | Returns a copy of `this` immutable component with the specified `index`.
    `ITreeitem` | ITreeitem.`withLabel​(java.lang.String label)` | Returns a copy of `this` immutable component with the specified `label`.
    `ITreeitem` | ITreeitem.`withOpen​(boolean open)` | Returns a copy of `this` immutable component with the specified `open`.
    `ITreeitem` | ITreeitem.`withSelectable​(boolean selectable)` | Returns a copy of `this` immutable component with the specified `selectable`.
    `ITreeitem` | ITreeitem.`withSelected​(boolean selected)` | Returns a copy of `this` immutable component with the specified `selected`.
    `ITreeitem` | ITreeitem.`withTreechildren​(ITreechildren treechildren)` | Returns a copy of `this` immutable component with the specified `treechildren`.
    `ITreeitem` | ITreeitem.`withTreerow​(ITreerow treerow)` | Returns a copy of `this` immutable component with the specified `treerow`.
    `default ITreeitem` | ITreeitem.`withWidth​(java.lang.String width)` | To control the size of Treeitem related components, please refer to `ITree` and `ITreecol` instead.

    Methods in org.zkoss.stateless.sul that return types with arguments of type ITreeitem
    Modifier and Type | Method | Description
    --- | --- | ---
    `default java.util.Collection<ITreeitem>` | ITree.`getItems()` | Returns a readonly list of all descending `ITreeitem` (children's children and so on).
    `default java.util.Collection<ITreeitem>` | ITreechildren.`getItems()` | Returns a readonly list of all descending `ITreeitem` (children's children and so on).

    Methods in org.zkoss.stateless.sul with parameters of type ITreeitem
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ITree` | ITree.`of​(ITreeitem... children)` | Returns the instance with the given tree items which belong to root level.
    `static ITreechildren` | ITreechildren.`of​(ITreeitem... children)` | Returns the instance with the given tree items which belong to this component.
    `static ITreeitem` | ITreeitem.`of​(java.lang.String label, ITreeitem... items)` | Returns the instance with the given label and all sublevel items.

    Method parameters in org.zkoss.stateless.sul with type arguments of type ITreeitem
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ITree` | ITree.`of​(java.lang.Iterable<? extends ITreeitem> children)` | Returns the instance with the given tree items which belong to root level.
    `static ITreechildren` | ITreechildren.`of​(java.lang.Iterable<? extends ITreeitem> children)` | Returns the instance with the given tree items which belong to this component.
    `static ITreeitem` | ITreeitem.`of​(java.lang.String label, java.lang.Iterable<? extends ITreeitem> items)` | Returns the instance with the given label and all sublevel items.