echopoint.template.propertymgr
Interface PropertyManager

All Known Implementing Classes:
AbstractButtonPropertyManager, ComponentPropertyManager, LabelPropertyManager, ListPropertyManager, TableGridPropertyManager, TextAreaPropertyManager, TextComponentPropertyManager, TextFieldPropertyManager

public interface PropertyManager

Property Manager for template managed components. Managers may have certain properties which can be set from parameters given in a template. page, e.g. a 'text' parameter for a 'Button' Component.

Note that attribute names are NOT case sensitive in the template source.


Method Summary
 java.lang.Class[] getSupportedClasses()
          called to get a list of supported classes
 void setComponentProperties(Component comp, java.lang.String[] names, java.lang.Object[] values)
          Called to set the various properties of a Component.
 

Method Detail

getSupportedClasses

java.lang.Class[] getSupportedClasses()
called to get a list of supported classes


setComponentProperties

void setComponentProperties(Component comp,
                            java.lang.String[] names,
                            java.lang.Object[] values)
Called to set the various properties of a Component. Each implementor must decide if the properties apply to them, and discard any that do not.