Class BindStepRenderer<E>

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

public class BindStepRenderer<E> extends org.zkoss.bind.impl.AbstractRenderer implements StepRenderer<E>
Step renderer for binding.
Since:
9.0.0
Author:
jameschu
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(Step step, E data, int index)
    Renders the data to the specified Step.

    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

    • BindStepRenderer

      public BindStepRenderer()
  • Method Details

    • render

      public void render(Step step, E data, int index) throws Exception
      Description copied from interface: StepRenderer
      Renders the data to the specified Step.
      Specified by:
      render in interface StepRenderer<E>
      Parameters:
      step - the Step to render the result.
      data - that is used to render the Step
      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