Package jcckit.data

Class DataPoint

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

public class DataPoint extends Point implements DataElement
Immutable two-dimensional point in data coordinates.
  • Constructor Details

    • DataPoint

      public DataPoint(double x, double y)
  • Method Details

    • 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.