Class BindLineitemRenderer<E>

java.lang.Object
org.zkoss.bind.impl.AbstractRenderer
org.zkoss.zkmax.bind.impl.BindLineitemRenderer<E>
All Implemented Interfaces:
Serializable, LineitemRenderer<E>

public class BindLineitemRenderer<E> extends org.zkoss.bind.impl.AbstractRenderer implements LineitemRenderer<E>, Serializable
lineitem renderer for binding.
Since:
9.0.0
See Also:
  • Field Summary

    Fields inherited from class org.zkoss.bind.impl.AbstractRenderer

    CURRENT_INDEX_RESOLVER_ATTR, EACH_ATTR, EACH_STATUS_VAR, EACH_VAR, IS_TEMPLATE_MODEL_ENABLED_ATTR, RENDERED_COMPONENTS, STATUS_ATTR, STATUS_POST_VAR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(Lineitem item, E data, int index)
    Renders the data to the specified lineitem.

    Methods inherited from class org.zkoss.bind.impl.AbstractRenderer

    addItemReference, addTemplateTracking, filterOutShadows, lookupTemplate, resolveTemplate, resolveTemplate, setAttributeName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BindLineitemRenderer

      public BindLineitemRenderer()
  • Method Details

    • render

      public void render(Lineitem item, E data, int index) throws Exception
      Description copied from interface: LineitemRenderer
      Renders the data to the specified lineitem.
      Specified by:
      render in interface LineitemRenderer<E>
      Parameters:
      item - the lineItem to render the result.
      data - that is used to render the lineitem.
      index - the index of the data that is currently being rendered.
      Throws:
      Exception