|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jinsight.jetchart.GaugeFrame
This class implements the properties of a gauge chart frame, which is made up of a circle or semi-circle surrounding the gauge area, the gauge area itself and a needle connector.
GaugeGraph| Field Summary | |
static int |
RANGE_180
Constant used to set the range of the gauge frame to 180 degrees. |
static int |
RANGE_240
Constant used to set the range of the gauge frame to 240 degrees. |
static int |
RANGE_360
Constant used to set the range of the gauge frame to 360 degrees. |
static int |
RANGE_90
Constant used to set the range of the gauge frame to 90 degrees. |
| Constructor Summary | |
GaugeFrame()
|
|
| Method Summary | |
protected void |
finalize()
|
void |
setBorderColor(java.awt.Color borderColor)
Sets the border color of the gauge frame. |
void |
setCenterOffset(int xCenterOffset,
int yCenterOffset)
Sets xy offset values to shift the center position of the gauge frame. |
void |
setColor(java.awt.Color color)
Sets the filling color of the gauge frame area. |
void |
setNeedleConnectorColor(java.awt.Color needleConnectorColor)
Sets the color of the needle connector. |
void |
setNeedleConnectorEnabled(boolean isNeedleConnectorEnabled)
Enables/disables the needle connector point. |
void |
setStyle(int style)
Sets the style of the gauge frame. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int RANGE_360
public static final int RANGE_240
public static final int RANGE_180
public static final int RANGE_90
| Constructor Detail |
public GaugeFrame()
| Method Detail |
public void setStyle(int style)
style - One of the valid constants used to set
the gauge frame style.RANGE_360,
RANGE_240,
RANGE_180,
RANGE_90public void setColor(java.awt.Color color)
color - A Color object.public void setBorderColor(java.awt.Color borderColor)
borderColor - A Color object.
public void setCenterOffset(int xCenterOffset,
int yCenterOffset)
xCenterOffset - An integer value.yCenterOffset - An integer value.public void setNeedleConnectorEnabled(boolean isNeedleConnectorEnabled)
isNeedleConnectorEnabled - public void setNeedleConnectorColor(java.awt.Color needleConnectorColor)
needleConnectorColor - A Color object.setNeedleConnectorEnabled(boolean)
protected void finalize()
throws java.lang.Throwable
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||