|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.data.AbstractChartData
public abstract class AbstractChartData
Title: IJChart
Description: a chart library for the Java(tm) platform.
The abstract class for allIChartData
object.
Copyright: Copyright (c) 2013
Company:
Field Summary | |
---|---|
static java.lang.String |
DATE_MASK_LONG
The date mask of long type. |
Constructor Summary | |
---|---|
AbstractChartData()
The constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object. |
protected java.lang.String |
formatDate(java.util.Date date)
Format date object. |
protected java.lang.String |
formatDateForFunction(java.util.Date date)
Format date object for function argument. |
protected java.lang.String |
formatNumber(double value)
Format number object. |
protected java.lang.String |
formatNumber(java.lang.Number num)
Format number object. |
protected java.lang.String |
formatNumberForFunction(double value)
Format number object for function argument. |
protected java.lang.String |
formatNumberForFunction(java.lang.Number num)
Format number object for function argument. |
java.lang.String |
getAreaFunctionArguments()
Returns the function arguments of hotspot area. |
java.lang.String |
getAreaURLFragment()
Returns the url for hotspot area. |
java.text.DateFormat |
getDateFormat()
Returns the formater for date object. |
java.lang.String |
getLabelText()
Returns the label text. |
java.text.NumberFormat |
getNumberFormat()
Returns the formater for number object. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setDateFormat(java.text.DateFormat dateFormat)
Sets the formater for date object. |
void |
setNumberFormat(java.text.NumberFormat numberFormat)
Sets the formater for number object. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
public static final java.lang.String DATE_MASK_LONG
Constructor Detail |
---|
public AbstractChartData()
Method Detail |
---|
public java.text.DateFormat getDateFormat()
public void setDateFormat(java.text.DateFormat dateFormat)
dateFormat
- DateFormat
The formater for date object (null permitted).public java.text.NumberFormat getNumberFormat()
public void setNumberFormat(java.text.NumberFormat numberFormat)
numberFormat
- NumberFormat
The formater for number object.public java.lang.String getLabelText()
getLabelText
in interface IChartData
public java.lang.String getAreaFunctionArguments()
getAreaFunctionArguments
in interface IChartData
public java.lang.String getAreaURLFragment()
getAreaURLFragment
in interface IChartData
protected java.lang.String formatDate(java.util.Date date)
date
- Date
protected java.lang.String formatDateForFunction(java.util.Date date)
date
- Date
protected java.lang.String formatNumber(double value)
value
- double
protected java.lang.String formatNumber(java.lang.Number num)
num
- Number
protected java.lang.String formatNumberForFunction(double value)
value
- double
protected java.lang.String formatNumberForFunction(java.lang.Number num)
num
- Number
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null permitted).
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.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 java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |