Package org.zkoss.zkmax.zul

## Interface OrgitemRenderer<T>

- All Known Implementing Classes:
    `BindOrgitemRenderer`

      public interface OrgitemRenderer<T>

  Identifies components that can be used as "rubber stamps" to paint the cells in an `Organigram`.
  Since:
    8.6.0
  See Also:
    `TreeModel`, `Organigram`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `render​(Orgitem item, T data, int index)` | Renders the data to the specified Orgitem.

- - ### Method Detail

    - #### render

          void render​(Orgitem item,
                      T data,
                      int index)
               throws java.lang.Exception

      Renders the data to the specified Orgitem. Note: When this method is called, the orgitem should have no child at all. Orgnode is only component that allowed to be item's children. Do not append any Orgchildren to item in this method, an Orgchildren will be appended afterward.
      Parameters:
        `item` - the Orgitem to render the result.
        `data` - that is used to render the Orgitem
        `index` - the index of the data that is currently being rendered. Notice the index is the order of the siblings (i.e., data that belongs to the same parent).
      Throws:
        `java.lang.Exception`