Class StandardSpiderPlot

java.lang.Object
net.sf.jasperreports.components.spiderchart.StandardSpiderPlot
All Implemented Interfaces:
Serializable, Cloneable, ChartPlot, SpiderPlot, JRChangeEventsSupport, JRCloneable

public class StandardSpiderPlot extends Object implements SpiderPlot, JRChangeEventsSupport
Author:
Sanda Zaharia (shertage@users.sourceforge.net)
See Also:
  • Field Details

  • Constructor Details

    • StandardSpiderPlot

      public StandardSpiderPlot()
    • StandardSpiderPlot

      public StandardSpiderPlot(SpiderPlot spiderPlot, JRBaseObjectFactory factory)
  • Method Details

    • getLabelFont

      public JRFont getLabelFont()
      Specified by:
      getLabelFont in interface SpiderPlot
      Returns:
      the labelFont
    • getMaxValueExpression

      public JRExpression getMaxValueExpression()
      Specified by:
      getMaxValueExpression in interface SpiderPlot
      Returns:
      the maxValueExpression
    • getRotation

      public SpiderRotationEnum getRotation()
      Specified by:
      getRotation in interface SpiderPlot
      Returns:
      the rotation
    • getTableOrder

      public TableOrderEnum getTableOrder()
      Specified by:
      getTableOrder in interface SpiderPlot
      Returns:
      the tableOrder
    • getWebFilled

      public Boolean getWebFilled()
      Specified by:
      getWebFilled in interface SpiderPlot
      Returns:
      the webFilled
    • getStartAngle

      public Double getStartAngle()
      Specified by:
      getStartAngle in interface SpiderPlot
      Returns:
      the startAngle
    • getHeadPercent

      public Double getHeadPercent()
      Specified by:
      getHeadPercent in interface SpiderPlot
      Returns:
      the headPercent
    • getInteriorGap

      public Double getInteriorGap()
      Specified by:
      getInteriorGap in interface SpiderPlot
      Returns:
      the interiorGap
    • getAxisLineColor

      public Color getAxisLineColor()
      Specified by:
      getAxisLineColor in interface SpiderPlot
      Returns:
      the axisLineColor
    • getAxisLineWidth

      public Float getAxisLineWidth()
      Specified by:
      getAxisLineWidth in interface SpiderPlot
      Returns:
      the axisLineWidth
    • getLabelGap

      public Double getLabelGap()
      Specified by:
      getLabelGap in interface SpiderPlot
      Returns:
      the labelGap
    • getLabelColor

      public Color getLabelColor()
      Specified by:
      getLabelColor in interface SpiderPlot
      Returns:
      the labelColor
    • setLabelFont

      public void setLabelFont(JRFont labelFont)
    • setMaxValueExpression

      public void setMaxValueExpression(JRExpression maxValueExpression)
    • setRotation

      public void setRotation(SpiderRotationEnum rotation)
    • setTableOrder

      public void setTableOrder(TableOrderEnum tableOrder)
    • setWebFilled

      public void setWebFilled(Boolean webFilled)
    • setStartAngle

      public void setStartAngle(Double startAngle)
    • setHeadPercent

      public void setHeadPercent(Double headPercent)
    • setInteriorGap

      public void setInteriorGap(Double interiorGap)
    • setAxisLineColor

      public void setAxisLineColor(Color axisLineColor)
    • setAxisLineWidth

      public void setAxisLineWidth(Float axisLineWidth)
    • setLabelGap

      public void setLabelGap(Double labelGap)
    • setLabelColor

      public void setLabelColor(Color labelColor)
    • getBackcolor

      public Color getBackcolor()
      Description copied from interface: ChartPlot
      Gets the chart background color.
      Specified by:
      getBackcolor in interface ChartPlot
      Returns:
      the backcolor
    • setBackcolor

      public void setBackcolor(Color backcolor)
      Parameters:
      backcolor - the backcolor to set
    • getBackgroundAlpha

      public Float getBackgroundAlpha()
      Description copied from interface: ChartPlot
      Gets the transparency factor for this plot background. The range is from 0 to 1, where 0 means transparent and 1 opaque. The default is 1.
      Specified by:
      getBackgroundAlpha in interface ChartPlot
      Returns:
      the backgroundAlpha
    • setBackgroundAlpha

      public void setBackgroundAlpha(Float backgroundAlpha)
      Parameters:
      backgroundAlpha - the backgroundAlpha to set
    • getForegroundAlpha

      public Float getForegroundAlpha()
      Description copied from interface: ChartPlot
      Gets the transparency factor for this plot foreground. The range is from 0 to 1, where 0 means transparent and 1 opaque. The default is 1.
      Specified by:
      getForegroundAlpha in interface ChartPlot
      Returns:
      the foregroundAlpha
    • setForegroundAlpha

      public void setForegroundAlpha(Float foregroundAlpha)
      Parameters:
      foregroundAlpha - the foregroundAlpha to set
    • collectExpressions

      public void collectExpressions(JRExpressionCollector collector)
    • clone

      public Object clone()
      Specified by:
      clone in interface JRCloneable
      Overrides:
      clone in class Object
    • 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