|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ijchart.xychart.data.AbstractChartData
com.ijchart.xychart.data.YIntervalChartData
public class YIntervalChartData
Title: IJChart
Description: a chart library for the Java(tm) platform.
The (x,y,y-low,y-high) Number ChartData object,this class is immutable.Copyright: Copyright (c) 2013
Company:
| Field Summary |
|---|
| Fields inherited from class com.ijchart.xychart.data.AbstractChartData |
|---|
DATE_MASK_LONG |
| Constructor Summary | |
|---|---|
YIntervalChartData(double x,
double y,
double yLow,
double yHigh)
Constructor. |
|
YIntervalChartData(java.lang.Number x,
java.lang.Number y,
java.lang.Number yLow,
java.lang.Number yHigh)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
int |
compareTo(java.lang.Object o)
Implements the compareTo() method of interface Comparable. |
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object. |
java.lang.String |
getAreaFunctionArguments()
Returns the function arguments of hotspot area. |
java.lang.String |
getAreaURLFragment()
Returns the url for hotspot area. |
java.lang.String |
getLabelText()
Returns the label text. |
double |
getX()
Returns the double x value. |
java.lang.Number |
getXData()
Returns the x Number data. |
double |
getY()
Returns the double y value. |
java.lang.Number |
getYData()
Returns the y Number data. |
double |
getYHigh()
Returns the double y-high value. |
java.lang.Number |
getYHighData()
Returns the y-high Number data. |
double |
getYLow()
Returns the double y-low value. |
java.lang.Number |
getYLowData()
Returns the y-low Number data. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class com.ijchart.xychart.data.AbstractChartData |
|---|
formatDate, formatDateForFunction, formatNumber, formatNumber, formatNumberForFunction, formatNumberForFunction, getDateFormat, getNumberFormat, setDateFormat, setNumberFormat |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public YIntervalChartData(double x,
double y,
double yLow,
double yHigh)
x - double
The x value.y - double
The y value.yLow - double
The lower bound of the y-interval.yHigh - double
The upper bound of the y-interval.
public YIntervalChartData(java.lang.Number x,
java.lang.Number y,
java.lang.Number yLow,
java.lang.Number yHigh)
x - Number
The x Number object (null not permitted).y - Number
The y Number object (null not permitted).yLow - Number
The y-low Number object (null not permitted).yHigh - Number
The y-high Number object (null not permitted).| Method Detail |
|---|
public java.lang.Number getXData()
public java.lang.Number getYData()
public java.lang.Number getYLowData()
public java.lang.Number getYHighData()
public double getX()
getX in interface IXYChartDatapublic double getY()
getY in interface IXYChartDatapublic double getYLow()
public double getYHigh()
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - Object
The Object to be compared.
java.lang.ClassCastException - if the specified object's type prevents it
from being compared to this Object.public java.lang.String getLabelText()
getLabelText in interface IChartDatagetLabelText in class AbstractChartDatapublic java.lang.String getAreaFunctionArguments()
getAreaFunctionArguments in interface IChartDatagetAreaFunctionArguments in class AbstractChartDatapublic java.lang.String getAreaURLFragment()
getAreaURLFragment in interface IChartDatagetAreaURLFragment in class AbstractChartDatapublic boolean equals(java.lang.Object obj)
equals in class AbstractChartDataobj - the object (null permitted).
public int hashCode()
hashCode in class AbstractChartData
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class AbstractChartDatajava.lang.CloneNotSupportedException - if the object's class does not
support the Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.public java.lang.String toString()
toString in class AbstractChartData
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||