Class LegendSettings

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

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

  • Constructor Details

    • LegendSettings

      public LegendSettings()
  • Method Details

    • getShowLegend

      public Boolean getShowLegend()
    • setShowLegend

      public void setShowLegend(Boolean showLegend)
    • 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
    • getPosition

      public EdgeEnum getPosition()
      Returns:
      the position
    • setPosition

      public void setPosition(EdgeEnum position)
      Parameters:
      position - the position 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
    • getBlockFrame

      public org.jfree.chart.block.BlockFrame getBlockFrame()
      Returns:
      the blockFrame
    • getFrame

      public BlockFrameProvider getFrame()
    • setFrame

      public void setFrame(BlockFrameProvider frame)
    • 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
    • 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