Package org.zkoss.bind.sys
Interface TemplateResolver
-
- All Known Implementing Classes:
TemplateResolverImpl
public interface TemplateResolverResolver for Template- Since:
- 6.0.0
- Author:
- dennis
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEACH_ATTRstatic java.lang.StringEACH_STATUS_VARstatic java.lang.StringEACH_VARstatic java.lang.StringSTATUS_ATTRstatic java.lang.StringTEMPLATE_OBJECT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddTemplateTracking(org.zkoss.zk.ui.Component eachComp, java.lang.Object eachData, int index, int size)Add template tracking to componentorg.zkoss.zk.ui.util.TemplateresolveTemplate(org.zkoss.zk.ui.Component eachComp, java.lang.Object eachData, int index, int size, java.lang.String subType)Resolve the template for the component
-
-
-
Field Detail
-
EACH_ATTR
static final java.lang.String EACH_ATTR
- See Also:
- Constant Field Values
-
EACH_VAR
static final java.lang.String EACH_VAR
- See Also:
- Constant Field Values
-
STATUS_ATTR
static final java.lang.String STATUS_ATTR
- See Also:
- Constant Field Values
-
EACH_STATUS_VAR
static final java.lang.String EACH_STATUS_VAR
- See Also:
- Constant Field Values
-
TEMPLATE_OBJECT
static final java.lang.String TEMPLATE_OBJECT
- See Also:
- Constant Field Values
-
-
Method Detail
-
resolveTemplate
org.zkoss.zk.ui.util.Template resolveTemplate(org.zkoss.zk.ui.Component eachComp, java.lang.Object eachData, int index, int size, java.lang.String subType)Resolve the template for the component- Parameters:
eachComp- the template to be resolved of the componenteachData- the data for resolverindex- the index of eachsize- the size of data setsubType- the sub-type of template should be resolved- Returns:
- the template if exist.
- Since:
- 7.0.0
-
addTemplateTracking
void addTemplateTracking(org.zkoss.zk.ui.Component eachComp, java.lang.Object eachData, int index, int size)Add template tracking to component- Parameters:
eachComp- the template to be resolved of the componenteachData- the data for resolverindex- the index of eachsize- the size of data set
-
-