|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface TemplateInterface
Interface used by all complex components that either use several styles or a composite component that are made up of multiple components.
| Method Summary | |
|---|---|
abstract java.lang.String |
getDefaultTemplate()
Returns the default template to be used for this composite. |
abstract java.lang.String |
getTemplate()
Returns the template used for a component. |
abstract java.util.HashMap |
getTemplateDictionary()
Returns a user defined template dictionary for the component |
abstract java.lang.String |
getTemplateFileName()
Returns the template file name for the component |
abstract java.lang.String |
getTemplateLocation()
Returns the location the template file should be retrieved from. |
abstract void |
setTemplate(java.io.File file)
Sets a template file object |
abstract void |
setTemplate(java.lang.String template)
Sets the template for this component. |
abstract void |
setTemplateDictionary(java.util.HashMap dictionary)
Sets a user defined dictionary for the component containing variables along with their associated values. |
abstract void |
setTemplateFileName(java.lang.String template)
The name of the template file. |
abstract void |
setTemplateLocation(java.lang.String location)
Sets the location the template file for this composite. |
| Method Detail |
|---|
java.lang.String getTemplate()
void setTemplate(java.lang.String template)
a - string that contains keys %SOME_KEY for template substitutionvoid setTemplate(java.io.File file)
file - The file object that contains the template filevoid setTemplateFileName(java.lang.String template)
template - the file name containing the templatejava.lang.String getTemplateFileName()
java.util.HashMap getTemplateDictionary()
void setTemplateDictionary(java.util.HashMap dictionary)
a - user defined dictionaryjava.lang.String getTemplateLocation()
void setTemplateLocation(java.lang.String location)
the - location of the template filejava.lang.String getDefaultTemplate()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||