Package org.zkoss.zul
Interface TabboxRenderer<T>
-
- All Known Implementing Classes:
BindTabboxRenderer
public interface TabboxRenderer<T>
Identifies components that can be used as "rubber stamps" to paint the tab and tabpanel in aTabbox
.- Since:
- 7.0.0
- Author:
- jumperchen
- See Also:
ListModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
renderTab
void renderTab(Tab tab, T data, int index) throws java.lang.Exception
Renders the data to the specified tab.- Parameters:
tab
- the tab to render the result.data
- that is returned fromListModel.getElementAt(int)
index
- the index of the data that is currently being rendered- Throws:
java.lang.Exception
-
renderTabpanel
void renderTabpanel(Tabpanel tabpanel, T data, int index) throws java.lang.Exception
Renders the data to the specified tabpanel.- Parameters:
tabpanel
- the tabpanel to render the result.data
- that is returned fromListModel.getElementAt(int)
index
- the index of the data that is currently being rendered- Throws:
java.lang.Exception
-
-