Interface JRStaticText

All Superinterfaces:
Cloneable, JRBoxContainer, JRChild, JRCloneable, JRCommonElement, JRCommonText, JRElement, JRFont, JRIdentifiable, JRParagraphContainer, JRPropertiesHolder, JRStyleContainer, JRTextAlignment, JRTextElement, JRVisitable
All Known Implementing Classes:
JRBaseStaticText, JRDesignStaticText, JRFillStaticText

public interface JRStaticText extends JRTextElement
An abstract representation of a report static text. It provides functionality for static texts.

Static texts are text elements with fixed content, which does not change during the report-filling process. They are used mostly to introduce static text labels into the generated documents.

Besides the general element properties and the common text-specific properties, a static text definition has only the <text> tag, which introduces the fixed text content of the static text element. The text content can be collected using the getText() method.

Author:
Teodor Danciu (teodord@users.sourceforge.net)
  • Method Details

    • getText

      String getText()
    • setText

      void setText(String text)