JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart
Class JCDataCoord

java.lang.Object
  |
  +--com.klg.jclass.chart.JCDataCoord

public class JCDataCoord
extends Object

JCDataCoord holds a pair of floating point values representing a data coordinate.


Field Summary
protected  double x
          X value.
protected  double y
          Y value.
 
Constructor Summary
JCDataCoord(double x, double y)
          Simple constructor for JCDataCoord.
 
Method Summary
 double getX()
          Gets the value of the X property, which represents a data value along a particular axis.
 double getY()
          Gets the value of the Y property, which represents a data value along a particular axis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected double x
X value.


y

protected double y
Y value.

Constructor Detail

JCDataCoord

public JCDataCoord(double x,
                   double y)
Simple constructor for JCDataCoord.

Parameters:
x - The x value
y - The y value
Method Detail

getX

public double getX()
Gets the value of the X property, which represents a data value along a particular axis.

Returns:
The x value

getY

public double getY()
Gets the value of the Y property, which represents a data value along a particular axis.

Returns:
The y value

Copyright © 2004 Quest Software Inc..
All rights reserved.