Class TitleSettings
- java.lang.Object
-
- net.sf.jasperreports.chartthemes.simple.TitleSettings
-
- All Implemented Interfaces:
Serializable,net.sf.jasperreports.engine.design.events.JRChangeEventsSupport
public class TitleSettings extends Object implements net.sf.jasperreports.engine.design.events.JRChangeEventsSupport, Serializable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_backgroundPaintstatic StringPROPERTY_fontstatic StringPROPERTY_foregroundPaintstatic StringPROPERTY_horizontalAlignmentstatic StringPROPERTY_paddingstatic StringPROPERTY_positionstatic StringPROPERTY_showTitlestatic StringPROPERTY_verticalAlignment
-
Constructor Summary
Constructors Constructor Description TitleSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaintProvidergetBackgroundPaint()net.sf.jasperreports.engine.design.events.JRPropertyChangeSupportgetEventSupport()net.sf.jasperreports.engine.JRFontgetFont()PaintProvidergetForegroundPaint()org.jfree.ui.HorizontalAlignmentgetHorizontalAlignment()org.jfree.ui.RectangleInsetsgetPadding()net.sf.jasperreports.charts.type.EdgeEnumgetPositionValue()BooleangetShowTitle()public SimpleTitleSettings(SimpleChartSettings chartSettings) { this.chartSettings = chartSettings; font = new JRBaseFont(chartSettings.getFont(), null); } /**org.jfree.ui.VerticalAlignmentgetVerticalAlignment()voidsetBackgroundPaint(PaintProvider backgroundPaint)voidsetFont(net.sf.jasperreports.engine.JRFont font)voidsetForegroundPaint(PaintProvider foregroundPaint)voidsetHorizontalAlignment(org.jfree.ui.HorizontalAlignment horizontalAlignment)voidsetPadding(org.jfree.ui.RectangleInsets padding)voidsetPosition(net.sf.jasperreports.charts.type.EdgeEnum positionValue)voidsetShowTitle(Boolean showTitle)voidsetVerticalAlignment(org.jfree.ui.VerticalAlignment verticalAlignment)
-
-
-
Field Detail
-
PROPERTY_showTitle
public static final String PROPERTY_showTitle
- 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_padding
public static final String PROPERTY_padding
- See Also:
- Constant Field Values
-
-
Method Detail
-
getShowTitle
public Boolean getShowTitle()
public SimpleTitleSettings(SimpleChartSettings chartSettings) { this.chartSettings = chartSettings; font = new JRBaseFont(chartSettings.getFont(), null); } /**
-
setShowTitle
public void setShowTitle(Boolean showTitle)
-
getPositionValue
public net.sf.jasperreports.charts.type.EdgeEnum getPositionValue()
- Returns:
- the position
-
setPosition
public void setPosition(net.sf.jasperreports.charts.type.EdgeEnum positionValue)
- Parameters:
positionValue- the position to set
-
getBackgroundPaint
public PaintProvider getBackgroundPaint()
- Returns:
- the backgroundPaint
-
setBackgroundPaint
public void setBackgroundPaint(PaintProvider backgroundPaint)
- Parameters:
backgroundPaint- the backgroundPaint to set
-
getFont
public net.sf.jasperreports.engine.JRFont getFont()
- Returns:
- the font
-
setFont
public void setFont(net.sf.jasperreports.engine.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.ui.HorizontalAlignment getHorizontalAlignment()
- Returns:
- the horizontalAlignment
-
setHorizontalAlignment
public void setHorizontalAlignment(org.jfree.ui.HorizontalAlignment horizontalAlignment)
- Parameters:
horizontalAlignment- the horizontalAlignment to set
-
getEventSupport
public net.sf.jasperreports.engine.design.events.JRPropertyChangeSupport getEventSupport()
- Specified by:
getEventSupportin interfacenet.sf.jasperreports.engine.design.events.JRChangeEventsSupport
-
getVerticalAlignment
public org.jfree.ui.VerticalAlignment getVerticalAlignment()
- Returns:
- the verticalAlignment
-
setVerticalAlignment
public void setVerticalAlignment(org.jfree.ui.VerticalAlignment verticalAlignment)
- Parameters:
verticalAlignment- the verticalAlignment to set
-
getPadding
public org.jfree.ui.RectangleInsets getPadding()
- Returns:
- the padding
-
setPadding
public void setPadding(org.jfree.ui.RectangleInsets padding)
- Parameters:
padding- the padding to set
-
-