JIDE 3.5.15

com.jidesoft.chart.model
Class ChartPoint3D

java.lang.Object
  extended by com.jidesoft.chart.model.ChartPoint
      extended by com.jidesoft.chart.model.ChartPoint3D
All Implemented Interfaces:
Chartable, Chartable3D, Highlightable, Nameable, Named, Comparable<Chartable>

public class ChartPoint3D
extends ChartPoint
implements Chartable3D

An implementation of a 3-dimensional chart point


Constructor Summary
ChartPoint3D()
          Create a 3D point at the origin
ChartPoint3D(double x, double y, double z)
          Create a 3D point from the supplied x, y, z coordinates
 
Method Summary
 boolean equals(Object o)
           
 Positionable getZ()
          Gets the z coordinate of the Chartable object
 int hashCode()
           
 void setZ(Positionable z)
          Set the position on the Z axis
 
Methods inherited from class com.jidesoft.chart.model.ChartPoint
compareTo, getHighlight, getName, getX, getY, isHighlight, setHighlight, setName, setX, setY, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jidesoft.chart.model.Chartable
getX, getY
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

ChartPoint3D

public ChartPoint3D()
Create a 3D point at the origin


ChartPoint3D

public ChartPoint3D(double x,
                    double y,
                    double z)
Create a 3D point from the supplied x, y, z coordinates

Parameters:
x - the x coordinate
y - the y coordinate
z - the z coordinate
Method Detail

getZ

public Positionable getZ()
Gets the z coordinate of the Chartable object

Specified by:
getZ in interface Chartable3D
Returns:
the z coordinate

setZ

public void setZ(Positionable z)
Set the position on the Z axis

Parameters:
z - the position on the Z axis

equals

public boolean equals(Object o)
Overrides:
equals in class ChartPoint

hashCode

public int hashCode()
Overrides:
hashCode in class ChartPoint

JIDE 3.5.15