JIDE 3.5.15

com.jidesoft.chart.render
Class DefaultAxisRenderer

java.lang.Object
  extended by com.jidesoft.chart.render.DefaultAxisRenderer
All Implemented Interfaces:
AxisRenderer

public class DefaultAxisRenderer
extends Object
implements AxisRenderer

A class that implements the AxisRenderer interface and renders a simple line


Constructor Summary
DefaultAxisRenderer()
           
 
Method Summary
 int getBreadth()
           
 void renderAxis(Graphics g, int x, int y, int length, Orientation orientation)
           
 void setBreadth(int breadth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAxisRenderer

public DefaultAxisRenderer()
Method Detail

renderAxis

public void renderAxis(Graphics g,
                       int x,
                       int y,
                       int length,
                       Orientation orientation)
Specified by:
renderAxis in interface AxisRenderer

getBreadth

public int getBreadth()
Specified by:
getBreadth in interface AxisRenderer
Returns:
the breadth of the axis in pixels.

For an axis that is rendered horizontally the breadth is its height. for an axis that is rendered vertically, its breadth is its width.


setBreadth

public void setBreadth(int breadth)
Specified by:
setBreadth in interface AxisRenderer

JIDE 3.5.15