Class TitleSettings

java.lang.Object
net.sf.jasperreports.chartthemes.simple.TitleSettings
All Implemented Interfaces:
Serializable, JRChangeEventsSupport

public class TitleSettings extends Object implements JRChangeEventsSupport, Serializable
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
  • Field Details

  • Constructor Details

    • TitleSettings

      public TitleSettings()
  • Method Details

    • getShowTitle

      public Boolean getShowTitle()
      public SimpleTitleSettings(SimpleChartSettings chartSettings) { this.chartSettings = chartSettings; font = new JRBaseFont(chartSettings.getFont(), null); } /**
    • setShowTitle

      public void setShowTitle(Boolean showTitle)
    • getPosition

      public EdgeEnum getPosition()
      Returns:
      the position
    • setPosition

      public void setPosition(EdgeEnum position)
      Parameters:
      position - the position to set
    • getBackgroundPaint

      public PaintProvider getBackgroundPaint()
      Returns:
      the backgroundPaint
    • setBackgroundPaint

      public void setBackgroundPaint(PaintProvider backgroundPaint)
      Parameters:
      backgroundPaint - the backgroundPaint to set
    • getFont

      public JRFont getFont()
      Returns:
      the font
    • setFont

      public void setFont(JRFont font)
      Parameters:
      font - the font to set
    • getForegroundPaint

      public PaintProvider getForegroundPaint()
      Returns:
      the foregroundPaint
    • setForegroundPaint

      public void setForegroundPaint(PaintProvider foregroundPaint)
      Parameters:
      foregroundPaint - the foregroundPaint to set
    • getHorizontalAlignment

      public org.jfree.chart.ui.HorizontalAlignment getHorizontalAlignment()
      Returns:
      the horizontalAlignment
    • setHorizontalAlignment

      public void setHorizontalAlignment(org.jfree.chart.ui.HorizontalAlignment horizontalAlignment)
      Parameters:
      horizontalAlignment - the horizontalAlignment to set
    • getEventSupport

      public JRPropertyChangeSupport getEventSupport()
      Description copied from interface: JRChangeEventsSupport
      Returns the property change support object for this instance.
      Specified by:
      getEventSupport in interface JRChangeEventsSupport
      Returns:
      the property change support object for this instance
    • getVerticalAlignment

      public org.jfree.chart.ui.VerticalAlignment getVerticalAlignment()
      Returns:
      the verticalAlignment
    • setVerticalAlignment

      public void setVerticalAlignment(org.jfree.chart.ui.VerticalAlignment verticalAlignment)
      Parameters:
      verticalAlignment - the verticalAlignment to set
    • getPadding

      public org.jfree.chart.ui.RectangleInsets getPadding()
      Returns:
      the padding
    • setPadding

      public void setPadding(org.jfree.chart.ui.RectangleInsets padding)
      Parameters:
      padding - the padding to set