org.zkoss.bind.sys
Interface TemplateResolver

All Known Implementing Classes:
TemplateResolverImpl

public interface TemplateResolver

Resolver for Template

Since:
6.0.0
Author:
dennis

Field Summary
static java.lang.String EACH_ATTR
           
static java.lang.String EACH_STATUS_VAR
           
static java.lang.String EACH_VAR
           
static java.lang.String STATUS_ATTR
           
 
Method Summary
 void addTemplateTracking(Component eachComp)
          Add template tracking to component
 Template resolveTemplate(Component eachComp, java.lang.Object eachData, int index, int size)
          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
Method Detail

resolveTemplate

Template resolveTemplate(Component eachComp,
                         java.lang.Object eachData,
                         int index,
                         int size)
Resolve the template for the component

Parameters:
eachComp - the template to be resolved of the component
eachData - the data for resolver
index - the index of each
size - the size of data set
Returns:
the template if exist.

addTemplateTracking

void addTemplateTracking(Component eachComp)
Add template tracking to component

Parameters:
eachComp - the component to add template tracking


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo