DynamicPDF by ceTe Software

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

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.axes.AxisLabel
      extended by com.cete.dynamicpdf.pageelements.charting.axes.XAxisLabel
          extended by com.cete.dynamicpdf.pageelements.charting.axes.IndexedXAxisLabel

public class IndexedXAxisLabel
extends XAxisLabel

Represents Indexed x-axis Label.

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

View Example


Constructor Summary
IndexedXAxisLabel(java.lang.String text, int value)
          Initializes a new instance of the IndexedXAxisLabel class.
IndexedXAxisLabel(java.lang.String text, int value, Font font, float fontSize, Color textColor)
          Initializes a new instance of the IndexedXAxisLabel class.
 
Method Summary
 int getValue()
          Gets the position of the indexed axis label.
 void setValue(int value)
          Sets the position of the indexed axis label.
 
Methods inherited from class com.cete.dynamicpdf.pageelements.charting.axes.AxisLabel
getFont, getFontSize, getText, getTextColor, setFont, setFontSize, setText, setTextColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexedXAxisLabel

public IndexedXAxisLabel(java.lang.String text,
                         int value)
Initializes a new instance of the IndexedXAxisLabel class.

Parameters:
text - Text to display in the indexed axis label.
value - Position of the indexed axis label.

IndexedXAxisLabel

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

Parameters:
text - Text to display in the indexed axis label.
value - Position of the indexed axis label.
font - Font for the text of the indexed axis label.
fontSize - Font size for the text of the indexed axis label.
textColor - Color for the text of the indexed axis label.
See Also:
IndexedXAxisLabel
Method Detail

getValue

public int getValue()
Gets the position of the indexed axis label.

Returns:
the value of the axis.

setValue

public void setValue(int value)
Sets the position of the indexed axis label.

Parameters:
value - the value of the axis.

DynamicPDF by ceTe Software

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