Purple Code

com.purpletech.graph
Class IntegerDataPoint

java.lang.Object
  |
  +--com.purpletech.graph.IntegerDataPoint
All Implemented Interfaces:
DataPoint

public class IntegerDataPoint
extends java.lang.Object
implements DataPoint

Version:
$Id: IntegerDataPoint.java,v 1.2 2001/10/30 12:20:51 alex Exp $

Field Summary
protected  java.lang.Integer x
           
protected  java.lang.Integer y
           
 
Constructor Summary
IntegerDataPoint(int x, int y)
           
 
Method Summary
 java.lang.Object getX()
          returns the center of the x position of this data point, in whatever units are appropriate to the Unit of the axis for this graph
 java.lang.Object getY()
          returns the center of the y position of this data point, in whatever units are appropriate to the Unit of the axis for this graph
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

protected java.lang.Integer x

y

protected java.lang.Integer y
Constructor Detail

IntegerDataPoint

public IntegerDataPoint(int x,
                        int y)
Method Detail

getX

public java.lang.Object getX()
returns the center of the x position of this data point, in whatever units are appropriate to the Unit of the axis for this graph

Specified by:
getX in interface DataPoint

getY

public java.lang.Object getY()
returns the center of the y position of this data point, in whatever units are appropriate to the Unit of the axis for this graph

Specified by:
getY in interface DataPoint

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Documentation generated March 5 2003