DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting
Class GridLines

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.GridLines
Direct Known Subclasses:
XAxisGridLines, YAxisGridLines

public abstract class GridLines
extends java.lang.Object

Base class from which x and y-axis gridlines are derived.

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


Method Summary
 Color getColor()
          Gets the Color object to use for the color of the gridlines.
 float getInterval()
          Gets the interval of the gridlines.
 LineStyle getLineStyle()
          Gets LineStyle enumeration that specifies the line style of the gridlines.
 boolean getVisible()
          Gets the visible status of gridlines on the plot area.
 float getWidth()
          Gets the width of the gridlines.
 void setColor(Color color)
          Sets the Color object to use for the color of the gridlines.
 void setInterval(float interval)
          Sets the interval of the gridlines.
 void setLineStyle(LineStyle lineStyle)
          Sets LineStyle enumeration that specifies the line style of the gridlines.
 void setVisible(boolean visible)
          Sets the visible status of gridlines on the plot area.
 void setWidth(float width)
          Sets the width of the gridlines.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInterval

public float getInterval()
Gets the interval of the gridlines.

Returns:
the float interval of the grid lines.

setInterval

public void setInterval(float interval)
Sets the interval of the gridlines.

Parameters:
interval - the float used to set interval of the gridlines.

getLineStyle

public LineStyle getLineStyle()
Gets LineStyle enumeration that specifies the line style of the gridlines.

Returns:
LineStyle enumeration that specifies the line style of the gridlines.
See Also:
LineStyle

setLineStyle

public void setLineStyle(LineStyle lineStyle)
Sets LineStyle enumeration that specifies the line style of the gridlines.

Parameters:
lineStyle - LineStyle enumeration that specifies the line style of the gridlines.
See Also:
LineStyle

getWidth

public float getWidth()
Gets the width of the gridlines.

Returns:
the float line width of the gridlines.

setWidth

public void setWidth(float width)
Sets the width of the gridlines.

Parameters:
width - the float used to set line width of the gridlines.

getColor

public Color getColor()
Gets the Color object to use for the color of the gridlines.

Returns:
the color of gridlines on the plot area.
See Also:
Color

setColor

public void setColor(Color color)
Sets the Color object to use for the color of the gridlines.

Parameters:
color - the color of gridlines on the plot area.
See Also:
Color

getVisible

public boolean getVisible()
Gets the visible status of gridlines on the plot area. By default its true.

Returns:
the visible status of gridlines on the plot area.

setVisible

public void setVisible(boolean visible)
Sets the visible status of gridlines on the plot area. By default its true.

Parameters:
visible - the visible status of gridlines on the plot area.

DynamicPDF by ceTe Software

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