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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_backgroundPaint
static String
PROPERTY_font
static String
PROPERTY_foregroundPaint
static String
PROPERTY_frame
static String
PROPERTY_horizontalAlignment
static String
PROPERTY_padding
static String
PROPERTY_position
static String
PROPERTY_showLegend
static String
PROPERTY_verticalAlignment
-
Constructor Summary
Constructors Constructor Description LegendSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaintProvider
getBackgroundPaint()
org.jfree.chart.block.BlockFrame
getBlockFrame()
JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.JRFont
getFont()
PaintProvider
getForegroundPaint()
BlockFrameProvider
getFrame()
org.jfree.chart.ui.HorizontalAlignment
getHorizontalAlignment()
org.jfree.chart.ui.RectangleInsets
getPadding()
EdgeEnum
getPosition()
Boolean
getShowLegend()
org.jfree.chart.ui.VerticalAlignment
getVerticalAlignment()
void
setBackgroundPaint(PaintProvider backgroundPaint)
void
setFont(JRFont font)
void
setForegroundPaint(PaintProvider foregroundPaint)
void
setFrame(BlockFrameProvider frame)
void
setHorizontalAlignment(org.jfree.chart.ui.HorizontalAlignment horizontalAlignment)
void
setPadding(org.jfree.chart.ui.RectangleInsets padding)
void
setPosition(EdgeEnum position)
void
setShowLegend(Boolean showLegend)
void
setVerticalAlignment(org.jfree.chart.ui.VerticalAlignment verticalAlignment)
-
-
-
Field Detail
-
PROPERTY_showLegend
public static final String PROPERTY_showLegend
- See Also:
- Constant Field Values
-
PROPERTY_position
public static final String PROPERTY_position
- See Also:
- Constant Field Values
-
PROPERTY_foregroundPaint
public static final String PROPERTY_foregroundPaint
- See Also:
- Constant Field Values
-
PROPERTY_backgroundPaint
public static final String PROPERTY_backgroundPaint
- See Also:
- Constant Field Values
-
PROPERTY_font
public static final String PROPERTY_font
- See Also:
- Constant Field Values
-
PROPERTY_horizontalAlignment
public static final String PROPERTY_horizontalAlignment
- See Also:
- Constant Field Values
-
PROPERTY_verticalAlignment
public static final String PROPERTY_verticalAlignment
- See Also:
- Constant Field Values
-
PROPERTY_frame
public static final String PROPERTY_frame
- See Also:
- Constant Field Values
-
PROPERTY_padding
public static final String PROPERTY_padding
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 interfaceJRChangeEventsSupport
- 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
-
-