Class BindSearchboxRenderer<E>

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

public class BindSearchboxRenderer<E> extends AbstractRenderer implements ItemRenderer<E>, Serializable
Searchbox renderer for binding.
Since:
9.0.0
Author:
rudyhuang
See Also:
  • Constructor Details

    • BindSearchboxRenderer

      public BindSearchboxRenderer()
  • Method Details

    • render

      public String render(Component owner, E data, int index) throws Exception
      Description copied from interface: ItemRenderer
      Renders the data to the corresponding HTML fragment, and returns the HTML fragment.
      Specified by:
      render in interface ItemRenderer<E>
      Parameters:
      owner - the component that this renderer belongs to (never null).
      data - that is returned from ListModel.getElementAt(int)
      index - the data index that is currently being rendered
      Returns:
      the HTML fragment representing the data. It depends on the component this renderer belongs to.
      Throws:
      Exception