DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting.series
Class SeriesLabel

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.series.SeriesLabel

public class SeriesLabel
extends java.lang.Object

This class represents a series label of pie series.

Licensing:
This is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:


Constructor Summary
SeriesLabel(java.lang.String text)
          Initializes a new instance of the SeriesLabel class.
SeriesLabel(java.lang.String text, Color textColor, Font font, float fontSize)
          Initializes a new instance of the SeriesLabel class.
SeriesLabel(java.lang.String text, Color textColor, Font font, float fontSize, SeriesNameDisplay seriesNameDisplay)
          Initializes a new instance of the SeriesLabel class.
SeriesLabel(java.lang.String text, Font font, SeriesNameDisplay seriesNameDisplay)
          Initializes a new instance of the SeriesLabel class.
SeriesLabel(java.lang.String text, SeriesNameDisplay seriesNameDisplay)
          Initializes a new instance of the SeriesLabel class.
 
Method Summary
 SeriesNameDisplay getDisplayPosition()
          Gets SeriesNameDisplay enumeration that specifies display position of the series label.
 Font getFont()
          Gets the Font object to use for the text of the series label.
 float getFontSize()
          Gets the font size for the text of the series label.
 java.lang.String getText()
          Gets the text of the series label.
 Color getTextColor()
          Gets the Color object to use for the text of the series label.
 void setDisplayPosition(SeriesNameDisplay seriesNameDisplay)
          Sets SeriesNameDisplay enumeration that specifies display position of the series label.
 void setFont(Font font)
          Sets the Font object to use for the text of the series label.
 void setFontSize(float fontSize)
          Sets the font size for the text of the series label.
 void setText(java.lang.String text)
          Sets the text of the series label.
 void setTextColor(Color color)
          Sets the Color object to use for the text of the series label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeriesLabel

public SeriesLabel(java.lang.String text)
Initializes a new instance of the SeriesLabel class.

Parameters:
text - Text to display in the series label.

SeriesLabel

public SeriesLabel(java.lang.String text,
                   SeriesNameDisplay seriesNameDisplay)
Initializes a new instance of the SeriesLabel class.

Parameters:
text - Text to display in the series label.
seriesNameDisplay - SeriesNameDisplay enumeration indicating display position of series label.

SeriesLabel

public SeriesLabel(java.lang.String text,
                   Font font,
                   SeriesNameDisplay seriesNameDisplay)
Initializes a new instance of the SeriesLabel class.

Parameters:
text - Text to display in the series label.
font - Font for the text of the series label.
seriesNameDisplay - SeriesNameDisplay enumeration indicating display position of series label.

SeriesLabel

public SeriesLabel(java.lang.String text,
                   Color textColor,
                   Font font,
                   float fontSize)
Initializes a new instance of the SeriesLabel class.

Parameters:
text - Text to display in the series label.
textColor - the color of the series label.
font - Font for the text of the series label.
fontSize - Font size for the text of the series label.

SeriesLabel

public SeriesLabel(java.lang.String text,
                   Color textColor,
                   Font font,
                   float fontSize,
                   SeriesNameDisplay seriesNameDisplay)
Initializes a new instance of the SeriesLabel class.

Parameters:
text - Text to display in the series label.
textColor - the text color of the series label.
font - Font for the text of the series label.
fontSize - Font size for the text of the series label.
seriesNameDisplay - SeriesNameDisplay enumeration indicating display position of series label.
Method Detail

getText

public java.lang.String getText()
Gets the text of the series label.

Returns:
the string value specifying the text of the series label.

setText

public void setText(java.lang.String text)
Sets the text of the series label.

Parameters:
text - string used to set the text of the series label.

getFont

public Font getFont()
Gets the Font object to use for the text of the series label.

Returns:
the font of the series label.
See Also:
Font

setFont

public void setFont(Font font)
Sets the Font object to use for the text of the series label.

Parameters:
font - the font of the series label.
See Also:
Font

getFontSize

public float getFontSize()
Gets the font size for the text of the series label.

Returns:
the float value specifying the font size for the text of the series label.

setFontSize

public void setFontSize(float fontSize)
Sets the font size for the text of the series label.

Parameters:
fontSize - float used to set font size for the text of the series label.

getTextColor

public Color getTextColor()
Gets the Color object to use for the text of the series label.

Returns:
the text color of the series label.
See Also:
Color

setTextColor

public void setTextColor(Color color)
Sets the Color object to use for the text of the series label.

Parameters:
color - the text color of the series label.
See Also:
Color

getDisplayPosition

public SeriesNameDisplay getDisplayPosition()
Gets SeriesNameDisplay enumeration that specifies display position of the series label.

Returns:
SeriesNameDisplay enumeration that specifies display position of the series label.
See Also:
SeriesNameDisplay

setDisplayPosition

public void setDisplayPosition(SeriesNameDisplay seriesNameDisplay)
Sets SeriesNameDisplay enumeration that specifies display position of the series label.

Parameters:
seriesNameDisplay - SeriesNameDisplay enumeration that specifies display position of the series label.
See Also:
SeriesNameDisplay

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software