java.lang.Object
de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems.AbstractRReportItem
de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems.StaticTextReportItem
All Implemented Interfaces:
IReportItem

public class StaticTextReportItem extends AbstractRReportItem
Report item containing static text.
  • Constructor Details

    • StaticTextReportItem

      public StaticTextReportItem(String text, boolean isHeading)
      Initializes a new report item containing static text.
      Parameters:
      text - The static text of this item.
      isHeading - true if this static text is a heading.
    • StaticTextReportItem

      public StaticTextReportItem()
      Constructs a report item without text that is not a heading.
  • Method Details

    • getText

      public String getText()
      Returns:
      The static text that is represented by this report item.
    • setText

      public void setText(String newText)
      Set the static text of this report item.
      Parameters:
      newText - The new static text to set.
    • isHeading

      public boolean isHeading()
      Checks if the static text is a heading.
      Returns:
      true if the text is a heading.
    • visit

      public void visit(IReportRenderingVisitor renderingVisitor)
      Used by the visitor to display the report item. Used to render the report item.
      Specified by:
      visit in interface IReportItem
      Specified by:
      visit in class AbstractRReportItem
      Parameters:
      renderingVisitor - Visitor used for rendering the content of each item.
    • generateData

      public void generateData(RConnection re)
      Initializes the generation of data for the report item.
      Parameters:
      re - connection to the R engine used for the generation