| |
|
| java.lang.Object net.sf.jasperreports.engine.JRSimpleTemplate
JRSimpleTemplate | public class JRSimpleTemplate implements JRTemplate,Serializable(Code) | | Default
JRTemplate implementation.
author: Lucian Chirita (lucianc@users.sourceforge.net) version: $Id: JRSimpleTemplate.java 1759 2007-06-20 16:47:34Z lucianc $ |
addStyle | public void addStyle(JRStyle style) throws JRException(Code) | | Adds a style to the template.
Parameters: style - the style to add throws: JRException - when a style with the same name already exists |
getStyle | public JRStyle getStyle(String name)(Code) | | Returns an included style by name.
Parameters: name - the name of the style to be returned the style having the specified name, or null if not found |
removeIncludedTemplate | public boolean removeIncludedTemplate(JRTemplateReference reference)(Code) | | Removes an included template.
Parameters: reference - the template reference to remove true iff the included template has been found and removed |
removeIncludedTemplate | public JRTemplateReference removeIncludedTemplate(String location)(Code) | | Removes an included template.
The first template reference that matches the location is removed.
Parameters: location - the location of the template to remove the removed template reference, or null if not found |
removeStyle | public boolean removeStyle(JRStyle style)(Code) | | Removes an included style.
Parameters: style - the style to remove true iff the style has been found and removed |
removeStyle | public JRStyle removeStyle(String name)(Code) | | Removes an included style.
Parameters: name - the name of the style to be removed the removed style, or null if not found |
|
|
|