Class LegendSettings
java.lang.Object
net.sf.jasperreports.chartthemes.simple.LegendSettings
- All Implemented Interfaces:
Serializable,JRChangeEventsSupport
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jfree.chart.block.BlockFrameReturns the property change support object for this instance.getFont()getFrame()org.jfree.chart.ui.HorizontalAlignmentorg.jfree.chart.ui.RectangleInsetsorg.jfree.chart.ui.VerticalAlignmentvoidsetBackgroundPaint(PaintProvider backgroundPaint) voidvoidsetForegroundPaint(PaintProvider foregroundPaint) voidsetFrame(BlockFrameProvider frame) voidsetHorizontalAlignment(org.jfree.chart.ui.HorizontalAlignment horizontalAlignment) voidsetPadding(org.jfree.chart.ui.RectangleInsets padding) voidsetPosition(EdgeEnum position) voidsetShowLegend(Boolean showLegend) voidsetVerticalAlignment(org.jfree.chart.ui.VerticalAlignment verticalAlignment)
-
Field Details
-
PROPERTY_showLegend
- See Also:
-
PROPERTY_position
- See Also:
-
PROPERTY_foregroundPaint
- See Also:
-
PROPERTY_backgroundPaint
- See Also:
-
PROPERTY_font
- See Also:
-
PROPERTY_horizontalAlignment
- See Also:
-
PROPERTY_verticalAlignment
- See Also:
-
PROPERTY_frame
- See Also:
-
PROPERTY_padding
- See Also:
-
-
Constructor Details
-
LegendSettings
public LegendSettings()
-
-
Method Details
-
getShowLegend
-
setShowLegend
-
getBackgroundPaint
- Returns:
- the backgroundPaint
-
setBackgroundPaint
- Parameters:
backgroundPaint- the backgroundPaint to set
-
getFont
- Returns:
- the font
-
setFont
- Parameters:
font- the font to set
-
getForegroundPaint
- Returns:
- the foregroundPaint
-
setForegroundPaint
- 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
- Returns:
- the position
-
setPosition
- Parameters:
position- the position to set
-
getEventSupport
Description copied from interface:JRChangeEventsSupportReturns the property change support object for this instance.- Specified by:
getEventSupportin interfaceJRChangeEventsSupport- Returns:
- the property change support object for this instance
-
getBlockFrame
public org.jfree.chart.block.BlockFrame getBlockFrame()- Returns:
- the blockFrame
-
getFrame
-
setFrame
-
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
-