DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting.axes
Class AxisLabel

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.axes.AxisLabel
Direct Known Subclasses:
XAxisLabel, YAxisLabel

public abstract class AxisLabel
extends java.lang.Object

Base class from which all axis labels are derived.

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


Method Summary
 Font getFont()
          Gets the Font object to use for the text of the axis label.
 float getFontSize()
          Gets the font size for the text of the axis label.
 java.lang.String getText()
          Gets the text of the axis label.
 Color getTextColor()
          Gets the Color object to use for the text of the axis label.
 void setFont(Font font)
          Sets the Font object to use for the text of the axis label.
 void setFontSize(float fontSize)
          Sets the font size for the text of the axis label.
 void setText(java.lang.String text)
          Sets the text of the axis label.
 void setTextColor(Color color)
          Sets the Color object to use for the text of the axis label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getText

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

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

setText

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

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

getFont

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

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

setFont

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

Parameters:
font - object to use for the text of the axis label.
See Also:
Font

getFontSize

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

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

setFontSize

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

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

getTextColor

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

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

setTextColor

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

Parameters:
color - color object to use for the text of the axis label.
See Also:
Color

DynamicPDF by ceTe Software

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