|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--khartzToolz.KhartzBaseChart
This is the base class for all chart objects
| Constructor Summary | |
KhartzBaseChart()
|
|
| Method Summary | |
int |
getBottomMargin()
Access method for the bottomMargin property. |
int |
getChartMargin()
Access method for the chartMargin property. |
java.awt.Rectangle |
getChartSize()
Access method for the chartSize property. |
java.lang.String |
getChartTitle()
Access method for the chartTitle property. |
java.awt.Color[] |
getColorArray()
Access method for the colorArray property. |
java.lang.String |
getLabel(int i)
Returns the label at index i |
java.lang.String[] |
getLabels()
Access method for the labels property. |
int |
getLeftMargin()
Access method for the leftMargin property. |
double |
getMaxValue()
Returns the max value for the array of values that the chart holds |
double |
getMinValue()
Returns the lowest from the array of chart values. |
int |
getRightMargin()
Access method for the rightMargin property. |
java.awt.Font |
getTextFont()
Access method for the textFont property. |
int |
getTopMargin()
Access method for the topMargin property. |
double |
getValue(int i)
Returns an individual value from the array of values |
double[] |
getValues()
Access method for the values property. |
java.lang.String |
getVersionMessage()
Access method for the versionMessage property. |
void |
setBottomMargin(int aBottomMargin)
Sets the value of the bottomMargin property. |
void |
setChartMargin(int aChartMargin)
Sets the value of the chartMargin property. |
void |
setChartSize(java.awt.Rectangle aChartSize)
Sets the value of the chartSize property. |
void |
setChartTitle(java.lang.String aChartTitle)
Sets the value of the chartTitle property. |
void |
setColorArray(java.awt.Color[] aColorArray)
Sets the value of the colorArray property. |
void |
setLabels(java.lang.String[] aLabels)
Sets the value of the labels property. |
void |
setLeftMargin(int aLeftMargin)
Sets the value of the leftMargin property. |
void |
setRightMargin(int aRightMargin)
Sets the value of the rightMargin property. |
void |
setTextFont(java.awt.Font aTextFont)
Sets the value of the textFont property. |
void |
setTopMargin(int aTopMargin)
Sets the value of the topMargin property. |
void |
setValues(double[] aValues)
Sets the value of the values property. |
void |
setVersionMessage(java.lang.String aVersionMessage)
Sets the value of the versionMessage property. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KhartzBaseChart()
| Method Detail |
public double[] getValues()
public void setValues(double[] aValues)
aValues - the new value of the values propertypublic java.lang.String[] getLabels()
public void setLabels(java.lang.String[] aLabels)
aLabels - the new value of the labels propertypublic java.lang.String getChartTitle()
public void setChartTitle(java.lang.String aChartTitle)
aChartTitle - the new value of the chartTitle propertypublic java.awt.Rectangle getChartSize()
public void setChartSize(java.awt.Rectangle aChartSize)
aChartSize - the new value of the chartSize propertypublic java.awt.Font getTextFont()
public void setTextFont(java.awt.Font aTextFont)
aTextFont - the new value of the textFont propertypublic java.awt.Color[] getColorArray()
public void setColorArray(java.awt.Color[] aColorArray)
aColorArray - the new value of the colorArray propertypublic int getChartMargin()
public void setChartMargin(int aChartMargin)
aChartMargin - the new value of the chartMargin propertypublic int getLeftMargin()
public void setLeftMargin(int aLeftMargin)
aLeftMargin - the new value of the leftMargin propertypublic int getRightMargin()
public void setRightMargin(int aRightMargin)
aRightMargin - the new value of the rightMargin propertypublic int getTopMargin()
public void setTopMargin(int aTopMargin)
aTopMargin - the new value of the topMargin propertypublic int getBottomMargin()
public void setBottomMargin(int aBottomMargin)
aBottomMargin - the new value of the bottomMargin propertypublic java.lang.String getVersionMessage()
public void setVersionMessage(java.lang.String aVersionMessage)
aVersionMessage - the new value of the versionMessage property
public double getValue(int i)
throws java.lang.ArrayIndexOutOfBoundsException
i - The index of the value to be returnedjava.lang.ArrayIndexOutOfBoundsException - The index value must be
positive and less than or equal to the length of values - 1public java.lang.String getLabel(int i)
i - An integer represeting the index of the required label.public double getMaxValue()
public double getMinValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||