DynamicPDF by ceTe Software

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

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.axes.AxisLabel
      extended by com.cete.dynamicpdf.pageelements.charting.axes.YAxisLabel
          extended by com.cete.dynamicpdf.pageelements.charting.axes.DateTimeYAxisLabel

public class DateTimeYAxisLabel
extends YAxisLabel

Represents a DateTime yA-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
DateTimeYAxisLabel(java.lang.String text, java.util.Calendar value)
          Initializes a new instance of the DateTimeYAxisLabel class.
DateTimeYAxisLabel(java.lang.String text, java.util.Calendar value, Font font, float fontSize, Color textColor)
          Initializes a new instance of the DateTimeYAxisLabel class.
 
Method Summary
 java.util.Calendar getValue()
          Gets the position of the datetime-axis label.
 void setValue(java.util.Calendar value)
          Sets the position of the datetime-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

DateTimeYAxisLabel

public DateTimeYAxisLabel(java.lang.String text,
                          java.util.Calendar value)
Initializes a new instance of the DateTimeYAxisLabel class.

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

DateTimeYAxisLabel

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

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

getValue

public java.util.Calendar getValue()
Gets the position of the datetime-axis label.

Returns:
the value of the axis.

setValue

public void setValue(java.util.Calendar value)
Sets the position of the datetime-axis label.

Parameters:
value - Calendar object used to set the position of the dateTime-axis label.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software