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:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description StandardSpiderPlot()
StandardSpiderPlot(SpiderPlot spiderPlot, JRBaseObjectFactory factory)
-
Method Summary
-
-
-
Field Detail
-
PROPERTY_LABEL_FONT
public static final String PROPERTY_LABEL_FONT
- See Also:
- Constant Field Values
-
PROPERTY_MAX_VALUE_EXPRESSION
public static final String PROPERTY_MAX_VALUE_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_ROTATION
public static final String PROPERTY_ROTATION
- See Also:
- Constant Field Values
-
PROPERTY_TABLE_ORDER
public static final String PROPERTY_TABLE_ORDER
- See Also:
- Constant Field Values
-
PROPERTY_WEB_FILLED
public static final String PROPERTY_WEB_FILLED
- See Also:
- Constant Field Values
-
PROPERTY_START_ANGLE
public static final String PROPERTY_START_ANGLE
- See Also:
- Constant Field Values
-
PROPERTY_HEAD_PERCENT
public static final String PROPERTY_HEAD_PERCENT
- See Also:
- Constant Field Values
-
PROPERTY_INTERIOR_GAP
public static final String PROPERTY_INTERIOR_GAP
- See Also:
- Constant Field Values
-
PROPERTY_AXIS_LINE_COLOR
public static final String PROPERTY_AXIS_LINE_COLOR
- See Also:
- Constant Field Values
-
PROPERTY_AXIS_LINE_WIDTH
public static final String PROPERTY_AXIS_LINE_WIDTH
- See Also:
- Constant Field Values
-
PROPERTY_LABEL_GAP
public static final String PROPERTY_LABEL_GAP
- See Also:
- Constant Field Values
-
PROPERTY_LABEL_COLOR
public static final String PROPERTY_LABEL_COLOR
- See Also:
- Constant Field Values
-
PROPERTY_BACKCOLOR
public static final String PROPERTY_BACKCOLOR
- See Also:
- Constant Field Values
-
PROPERTY_BACKGROUND_ALPHA
public static final String PROPERTY_BACKGROUND_ALPHA
- See Also:
- Constant Field Values
-
PROPERTY_FOREGROUND_ALPHA
public static final String PROPERTY_FOREGROUND_ALPHA
- See Also:
- Constant Field Values
-
labelFont
protected JRFont labelFont
-
maxValueExpression
protected JRExpression maxValueExpression
-
rotation
protected SpiderRotationEnum rotation
-
tableOrder
protected TableOrderEnum tableOrder
-
webFilled
protected Boolean webFilled
-
startAngle
protected Double startAngle
-
headPercent
protected Double headPercent
-
interiorGap
protected Double interiorGap
-
axisLineColor
protected Color axisLineColor
-
axisLineWidth
protected Float axisLineWidth
-
labelGap
protected Double labelGap
-
labelColor
protected Color labelColor
-
backcolor
protected Color backcolor
-
backgroundAlpha
protected Float backgroundAlpha
-
foregroundAlpha
protected Float foregroundAlpha
-
-
Constructor Detail
-
StandardSpiderPlot
public StandardSpiderPlot()
-
StandardSpiderPlot
public StandardSpiderPlot(SpiderPlot spiderPlot, JRBaseObjectFactory factory)
-
-
Method Detail
-
getLabelFont
public JRFont getLabelFont()
- Specified by:
getLabelFont
in interfaceSpiderPlot
- Returns:
- the labelFont
-
getMaxValueExpression
public JRExpression getMaxValueExpression()
- Specified by:
getMaxValueExpression
in interfaceSpiderPlot
- Returns:
- the maxValueExpression
-
getRotation
public SpiderRotationEnum getRotation()
- Specified by:
getRotation
in interfaceSpiderPlot
- Returns:
- the rotation
-
getTableOrder
public TableOrderEnum getTableOrder()
- Specified by:
getTableOrder
in interfaceSpiderPlot
- Returns:
- the tableOrder
-
getWebFilled
public Boolean getWebFilled()
- Specified by:
getWebFilled
in interfaceSpiderPlot
- Returns:
- the webFilled
-
getStartAngle
public Double getStartAngle()
- Specified by:
getStartAngle
in interfaceSpiderPlot
- Returns:
- the startAngle
-
getHeadPercent
public Double getHeadPercent()
- Specified by:
getHeadPercent
in interfaceSpiderPlot
- Returns:
- the headPercent
-
getInteriorGap
public Double getInteriorGap()
- Specified by:
getInteriorGap
in interfaceSpiderPlot
- Returns:
- the interiorGap
-
getAxisLineColor
public Color getAxisLineColor()
- Specified by:
getAxisLineColor
in interfaceSpiderPlot
- Returns:
- the axisLineColor
-
getAxisLineWidth
public Float getAxisLineWidth()
- Specified by:
getAxisLineWidth
in interfaceSpiderPlot
- Returns:
- the axisLineWidth
-
getLabelGap
public Double getLabelGap()
- Specified by:
getLabelGap
in interfaceSpiderPlot
- Returns:
- the labelGap
-
getLabelColor
public Color getLabelColor()
- Specified by:
getLabelColor
in interfaceSpiderPlot
- 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 interfaceChartPlot
- 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 interfaceChartPlot
- 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 interfaceChartPlot
- 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 interfaceJRCloneable
- Overrides:
clone
in classObject
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-
-