Class BindOrgitemRenderer

java.lang.Object
org.zkoss.bind.impl.AbstractRenderer
org.zkoss.zkmax.bind.impl.BindOrgitemRenderer
All Implemented Interfaces:
Serializable, OrgitemRenderer<Object>

public class BindOrgitemRenderer extends AbstractRenderer implements OrgitemRenderer<Object>
Orgitem renderer for binding.
Since:
8.6.0
See Also:
  • Constructor Details

    • BindOrgitemRenderer

      public BindOrgitemRenderer()
  • Method Details

    • render

      public void render(Orgitem orgitem, Object data, int index) throws Exception
      Description copied from interface: OrgitemRenderer
      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.
      Specified by:
      render in interface OrgitemRenderer<Object>
      Parameters:
      orgitem - 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:
      Exception