Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.jasperreports.engine
Interface JRTemplate

All Superinterfaces:
  JRDefaultFontProvider, JRDefaultStyleProvider

All Known Implementing Classes:
  JRSimpleTemplate

    public interface JRTemplate

extends JRDefaultStyleProvider

A template that can be used by report.

Templates contain report styles that can be used by reports once the template is included in the report. This allows styles to be externalized and reused across several reports.

A template can in its turn include other templates, see `getIncludedTemplates()`.

Version:
  $Id: JRTemplate.java 3033 2009-08-27 11:46:22Z teodord $
Author:
  Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
  `JRReport.getTemplates()`, `JRParameter.REPORT_TEMPLATES`, `JRStyleContainer.getStyleNameReference()`

Method Summary
`JRTemplateReference[]` | `getIncludedTemplates()` Returns the templates included/referenced by this template.
`JRStyle[]` | `getStyles()` Returns the styles defined in this template.

Methods inherited from interface net.sf.jasperreports.engine.JRDefaultStyleProvider
`getDefaultStyle`

Methods inherited from interface net.sf.jasperreports.engine.JRDefaultFontProvider
`getDefaultFont`

Method Detail

### getIncludedTemplates

    JRTemplateReference[] getIncludedTemplates()

  Returns the templates included/referenced by this template.

  Returns:
    the included templates

### getStyles

    JRStyle[] getStyles()

  Returns the styles defined in this template.

  Returns:
    the template styles

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com