public interface IDialPropertySet
Modifier and Type | Field and Description |
---|---|
static int |
POINTED_BLADE |
static int |
POINTER |
static int |
RECTANGULAR_POINTER |
static int |
ROUND_HEADED_BLADE |
static int |
TRIANGULAR_POINTER |
Modifier and Type | Method and Description |
---|---|
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
|
int |
getNeedleStyle()
This method returns the needle style Needle style option: RECTANGULAR_POINTER - Rectangular
pointer style POINTER - 3 segment Pointer style TRIANGULAR_POINTER - Triangule pointer style
POINTED_BLADE - Pointed blade style ROUND_HEADED_BLADE - Round headed blade style
|
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 |
setNeedleStyle(int style)
This method sets the needle style Needle style option: RECTANGULAR_POINTER - Rectangular
pointer style POINTER - 3 segment Pointer style TRIANGULAR_POINTER - Triangule pointer style
POINTED_BLADE - Pointed blade style ROUND_HEADED_BLADE - Round headed blade style
style of pointer 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
|
static final int RECTANGULAR_POINTER
static final int POINTER
static final int TRIANGULAR_POINTER
static final int POINTED_BLADE
static final int ROUND_HEADED_BLADE
int getNeedleCount()
double getNeedleLength(int index)
index
- index of the needlesetNeedleLength(int, double)
void setNeedleLength(int index, double lenRatio)
index
- index of the needlelenRatio
- relative needle length (radius of the dial chart == 1.0)getNeedleLength(int)
double getCenterPointRadius()
setCenterPointRadius(double)
void setCenterPointRadius(double lenRatio)
lenRatio
- relative center point radius (radius of the dial chart == 1.0)getCenterPointRadius()
java.awt.Color getCenterPointColor()
setCenterPointColor(java.awt.Color)
void setCenterPointColor(java.awt.Color color)
color
- Color of the center pointgetCenterPointColor()
double getStartAngle()
void setStartAngle(double angle)
angle
- the starting angle (in degree)double getEndAngle()
void setEndAngle(double angle)
angle
- the ending angle (in degree)java.awt.Dimension getLabelOffset(int index)
index
- the index of the label (ticker position)void setLabelOffset(int index, java.awt.Dimension offset)
index
- the index of the label (ticker position)offset
- the label offset dimensionvoid setLabelOffset(java.awt.Dimension[] offset)
offset
- array of labels offset dimensionint countLabelOffset()
@Deprecated int getHandCount()
@Deprecated double getHandLength(int index)
index
- index of the handsetHandLength(int, double)
@Deprecated void setHandLength(int index, double lenRatio)
index
- index of the handlenRatio
- relative hand length (radius of the dial chart == 1.0)getHandLength(int)
boolean isDrawFullCircle()
void setDrawFullCircle(boolean state)
state
- the state of drawing full circleint getSubTickerLength()
void setSubTickerLength(int t)
t
- length of the sub-tickerint getTickerLength()
void setTickerLength(int t)
t
- length of the tickerboolean is3DShadowForTickerOn()
void set3DShadowForTickerOn(boolean b)
b
- state of ticker 3D shadowint getSubTickerCount()
void setSubTickerCount(int ct)
number
- of the sub-tickersint getSubTickerThickness()
void setSubTickerThickness(int t)
t
- the thickness of the sub-tickerboolean isPointerUsed()
void setPointerUsed(boolean b)
b
- length of the sub-tickerint getNeedleStyle()
void setNeedleStyle(int style)