jcckit.data
Class DataPoint

java.lang.Object
  extended byjcckit.util.Point
      extended byjcckit.data.DataPoint
All Implemented Interfaces:
DataElement

public class DataPoint
extends Point
implements DataElement

Immutable two-dimensional point in data coordinates.

Author:
Franz-Josef Elmer

Constructor Summary
DataPoint(double x, double y)
           
 
Method Summary
 DataContainer getContainer()
          Returns always null.
 void setContainer(DataContainer container)
          Does nothing.
 
Methods inherited from class jcckit.util.Point
getX, getY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataPoint

public DataPoint(double x,
                 double y)
Method Detail

getContainer

public DataContainer getContainer()
Returns always null.

Specified by:
getContainer in interface DataElement
Returns:
null if this element is not an element of a container.

setContainer

public void setContainer(DataContainer container)
Does nothing.

Specified by:
setContainer in interface DataElement
Parameters:
container - Container which should contains this element. Cann be null if this element does not belong to a container.