|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface is used to modify the properties associated with a 2D dial chart. A handle to an object that implements this interface can be obtained by calling the gethDialProperties method defined in QbChart. eg. QbChart chart = new QbChart(...); IDialPropertySet dial = chart.gethDialProperties();
| Method Summary | |
int |
countLabelOffset()
This method returns the number of label offset |
java.awt.Color |
getCenterPointColor()
This method returns the color of the center point |
double |
getCenterPointRadius()
This method returns the relative radius of the center point |
double |
getEndAngle()
This method returns the ending angle of the chart (12pm position is 0 degree, clockwise) |
int |
getHandCount()
Deprecated. This method is deprecated and should use getNeedleCount instead |
double |
getHandLength(int index)
Deprecated. This method is deprecated and should use getNeedleLength instead |
java.awt.Dimension |
getLabelOffset(int index)
This method returns the offset for specific label |
int |
getNeedleCount()
This method counts number of needles |
double |
getNeedleLength(int index)
This method returns the relative length of the specific needle |
double |
getStartAngle()
This method returns the starting angle of the chart (12pm position is 0 degree, clockwise) |
int |
getSubTickerCount()
This method returns the number of sub-tickers |
int |
getSubTickerLength()
This method returns the length of the sub-ticker |
int |
getSubTickerThickness()
This method returns the thickness of the sub-ticker |
int |
getTickerLength()
This method returns the length of the ticker |
boolean |
is3DShadowForTickerOn()
This method returns whether ticker 3D shadow is on or not |
boolean |
isDrawFullCircle()
This method returns whether draw full circle for dial or not |
boolean |
isPointerUsed()
This method returns whether the pointer needle is used or not |
void |
set3DShadowForTickerOn(boolean b)
This method sets the ticker 3D shadow is on or not |
void |
setCenterPointColor(java.awt.Color color)
This method sets the center point color |
void |
setCenterPointRadius(double lenRatio)
This method sets the center point radius |
void |
setDrawFullCircle(boolean state)
This method sets drawing full circle for dial |
void |
setEndAngle(double angle)
This method sets the ending angle of the chart (12pm position is 0 degree, clockwise) |
void |
setHandLength(int index,
double lenRatio)
Deprecated. This method is deprecated and should use setNeedleLength instead |
void |
setLabelOffset(java.awt.Dimension[] offset)
This method sets offset for all labels |
void |
setLabelOffset(int index,
java.awt.Dimension offset)
This method sets the offset for specific label |
void |
setNeedleLength(int index,
double lenRatio)
This method sets the relative length of the specific needle |
void |
setPointerUsed(boolean b)
This method sets the length of the sub-ticker |
void |
setStartAngle(double angle)
This method sets the starting angle of the chart (12pm position is 0 degree, clockwise) |
void |
setSubTickerCount(int ct)
This method sets number of sub-tickers |
void |
setSubTickerLength(int t)
This method sets the length of the sub-ticker |
void |
setSubTickerThickness(int t)
This method sets the thickness of the sub-ticker |
void |
setTickerLength(int t)
This method sets the length of the ticker |
| Method Detail |
public int getNeedleCount()
public double getNeedleLength(int index)
index - index of the needlesetNeedleLength(int, double)
public void setNeedleLength(int index,
double lenRatio)
index - index of the needlelenRatio - relative needle length (radius of the dial chart == 1.0)getNeedleLength(int)public double getCenterPointRadius()
setCenterPointRadius(double)public void setCenterPointRadius(double lenRatio)
lenRatio - relative center point radius (radius of the dial chart == 1.0)getCenterPointRadius()public java.awt.Color getCenterPointColor()
setCenterPointColor(java.awt.Color)public void setCenterPointColor(java.awt.Color color)
color - Color of the center pointgetCenterPointColor()public double getStartAngle()
public void setStartAngle(double angle)
angle - the starting angle (in degree)public double getEndAngle()
public void setEndAngle(double angle)
angle - the ending angle (in degree)public java.awt.Dimension getLabelOffset(int index)
index - the index of the label (ticker position)
public void setLabelOffset(int index,
java.awt.Dimension offset)
index - the index of the label (ticker position)offset - the label offset dimensionpublic void setLabelOffset(java.awt.Dimension[] offset)
offset - array of labels offset dimensionpublic int countLabelOffset()
public int getHandCount()
public double getHandLength(int index)
index - index of the handsetHandLength(int, double)
public void setHandLength(int index,
double lenRatio)
index - index of the handlenRatio - relative hand length (radius of the dial chart == 1.0)getHandLength(int)public boolean isDrawFullCircle()
public void setDrawFullCircle(boolean state)
state - the state of drawing full circlepublic int getSubTickerLength()
public void setSubTickerLength(int t)
t - length of the sub-tickerpublic int getTickerLength()
public void setTickerLength(int t)
t - length of the tickerpublic boolean is3DShadowForTickerOn()
public void set3DShadowForTickerOn(boolean b)
b - state of ticker 3D shadowpublic int getSubTickerCount()
public void setSubTickerCount(int ct)
number - of the sub-tickerspublic int getSubTickerThickness()
public void setSubTickerThickness(int t)
t - the thickness of the sub-tickerpublic boolean isPointerUsed()
public void setPointerUsed(boolean b)
b - length of the sub-ticker
|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||