public class

VectorDataItem

extends ComparableObjectItem
java.lang.Object
   ↳ org.jfree.data.ComparableObjectItem
     ↳ org.jfree.data.xy.VectorDataItem

Class Overview

A data item representing data in the form (x, y, deltaX, deltaY), intended for use by the VectorSeries class.

Summary

Public Constructors
VectorDataItem(double x, double y, double deltaX, double deltaY)
Creates a new instance of YIntervalItem.
Public Methods
Vector getVector()
Returns the vector.
double getVectorX()
Returns the x-component for the vector.
double getVectorY()
Returns the y-component for the vector.
double getXValue()
Returns the x-value.
double getYValue()
Returns the y-value.
[Expand]
Inherited Methods
From class org.jfree.data.ComparableObjectItem
From class java.lang.Object
From interface java.lang.Comparable

Public Constructors

public VectorDataItem (double x, double y, double deltaX, double deltaY)

Creates a new instance of YIntervalItem.

Parameters
x the x-value.
y the y-value.
deltaX the vector x.
deltaY the vector y.

Public Methods

public Vector getVector ()

Returns the vector.

Returns
  • The vector (possibly null).

public double getVectorX ()

Returns the x-component for the vector.

Returns
  • The x-component.

public double getVectorY ()

Returns the y-component for the vector.

Returns
  • The y-component.

public double getXValue ()

Returns the x-value.

Returns
  • The x-value (never null).

public double getYValue ()

Returns the y-value.

Returns
  • The y-value.