Package org.zkoss.zul

Interface TabboxRenderer<T>


public interface TabboxRenderer<T>
Identifies components that can be used as "rubber stamps" to paint the tab and tabpanel in a Tabbox.
Since:
7.0.0
Author:
jumperchen
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    renderTab(Tab tab, T data, int index)
    Renders the data to the specified tab.
    void
    renderTabpanel(Tabpanel tabpanel, T data, int index)
    Renders the data to the specified tabpanel.
  • Method Details

    • renderTab

      void renderTab(Tab tab, T data, int index) throws Exception
      Renders the data to the specified tab.
      Parameters:
      tab - the tab to render the result.
      data - that is returned from ListModel.getElementAt(int)
      index - the index of the data that is currently being rendered
      Throws:
      Exception
    • renderTabpanel

      void renderTabpanel(Tabpanel tabpanel, T data, int index) throws Exception
      Renders the data to the specified tabpanel.
      Parameters:
      tabpanel - the tabpanel to render the result.
      data - that is returned from ListModel.getElementAt(int)
      index - the index of the data that is currently being rendered
      Throws:
      Exception