com.representqueens.spark
Class SizeParams

java.lang.Object
  extended by com.representqueens.spark.SizeParams

public final class SizeParams
extends Object

Graph size attributes.

Version:
$Revision: 1.2 $ $Date: 2006/07/17 20:22:40 $
Author:
Larry Ogrodnek

Constructor Summary
SizeParams(int width, int height, int spacing)
          Constructor.
 
Method Summary
 int getHeight()
          Get the graph height.
 int getSpacing()
          Get the spacing between data points.
 int getWidth()
          Get the graph width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SizeParams

public SizeParams(int width,
                  int height,
                  int spacing)
Constructor.

Parameters:
width - graph width (in pixels).
height - graph height (in pixels).
spacing - spacing between data points (in pixels).
Method Detail

getHeight

public int getHeight()
Get the graph height.

Returns:
graph height (in pixels).

getSpacing

public int getSpacing()
Get the spacing between data points.

Returns:
spacing between data points (in pixels).

getWidth

public int getWidth()
Get the graph width.

Returns:
graph width (in pixels).