Klasse ChartTitle
java.lang.Object
com.inet.report.chart.ChartTitle
- Alle implementierten Schnittstellen:
Serializable
A chart title that displays a text string with defined font and color.
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungChartTitle(Font titleFont, int color) Creates a chart title with the given properties. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungclone()intgetColor()Returns the ABGR value of color for this title.getFont()Returns the font of the label.getTitle()Returns this title's text.Returns the property formula for the chart title, if it is specified.booleanisEqualToDefault(ChartTitle defaultTitle) Returnstrueif this title is equal to default.booleanReturns whether or not this title is to be an automatically generated label.voidreadProperties(Element element, Chart2 chart) Reads the XML properties of a chart title.voidsaveProperties(StringBuilder buffer, String type, int depth) Writes the properties of the title toPrintWriter.voidsetColor(int titleColor) Sets the ABGR value of color for this title.voidSets the font of the label.voidsetShowAutoTitle(boolean showAutoTitle) Sets whether or not this title is to be an automatically generated label.voidSets this title.
Note: to use this property turn off the showing of auto title.voidsetTitleFormula(FormulaField titleFormula) Sets the formula which returns the title.
-
Felddetails
-
TOKEN_HEADER
-
TOKEN_SUBTITLE
-
TOKEN_FOOTNOTE
-
TOKEN_AXIS
-
-
Konstruktordetails
-
ChartTitle
Creates a chart title with the given properties.- Parameter:
titleFont- the title fontcolor- the title color- Seit:
- 8.0
-
-
Methodendetails
-
isShowAutoTitle
public boolean isShowAutoTitle()Returns whether or not this title is to be an automatically generated label.- Gibt zurück:
- whether or not this title is to be an automatically generated label
- Seit:
- 8.0
- Siehe auch:
-
setShowAutoTitle
public void setShowAutoTitle(boolean showAutoTitle) Sets whether or not this title is to be an automatically generated label.- Parameter:
showAutoTitle- whether or not the title is to be automatically generated- Seit:
- 8.0
- Siehe auch:
-
getTitle
Returns this title's text. If this title has been set to show an automatically generated label, this will show the automatically generated text, otherwise this will show the title set with setTitle.- Gibt zurück:
- the title text
- Seit:
- 8.0
- Siehe auch:
-
setTitle
Sets this title.
Note: to use this property turn off the showing of auto title.- Parameter:
title- the label (nullnot permitted)- Seit:
- 8.0
- Siehe auch:
-
getColor
public int getColor()Returns the ABGR value of color for this title.- Gibt zurück:
- the ABGR value representing the label color.
- Seit:
- 8.0
- Siehe auch:
-
setColor
public void setColor(int titleColor) Sets the ABGR value of color for this title.- Parameter:
titleColor- ABGR components of the color- Löst aus:
IllegalArgumentException- byRDC.COLOR_NO_COLOR.- Seit:
- 8.0
- Siehe auch:
-
getFont
-
setFont
Sets the font of the label.- Parameter:
titleFont- the label font (nullnot permitted)- Seit:
- 8.0
- Siehe auch:
-
isEqualToDefault
Returnstrueif this title is equal to default.- Parameter:
defaultTitle- the default title- Gibt zurück:
trueif equal to default.- Seit:
- 8.0
-
saveProperties
Writes the properties of the title toPrintWriter.- Parameter:
buffer- the outputtype- the type of this title: header, footer or subtitledepth- the depth of XML indent- Seit:
- 8.0
- Siehe auch:
-
readProperties
-
clone
-
setTitleFormula
Sets the formula which returns the title. Note that this formula is only used whenshowAutoTitleis off.- Parameter:
titleFormula- the formula foe the title- Seit:
- i-net Clear Reports 12.0
-
getTitleFormula
Returns the property formula for the chart title, if it is specified.- Gibt zurück:
- the formula or can be null.
- Seit:
- i-net Clear Reports 12.0
-