|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JCIndicator
interface for indicators. Those wishing to use
their own indicators should implement this interface.
Method Summary | |
com.klg.jclass.swing.gauge.JCIndicatorStyle |
getIndicatorStyle()
Returns the JCIndicatorStyle for this indicator. |
double |
getIndicatorWidth()
Returns the indicator width in pixels. |
double |
getInnerExtent()
Returns the inner extent of this indicator as a ratio of the scale's width, height, or radius (depending on the scale's type and orientation). |
double |
getOuterExtent()
Returns the outer extent of this indicator as a ratio of the scale's width, height, or radius (depending on the scale's type and orientation). |
com.klg.jclass.swing.gauge.JCScale |
getScale()
Returns the scale associated with this indicator. |
double |
getValue()
Returns the scale value at which this indicator is currently pointing. |
boolean |
isReversed()
Asks :"Is the indicator reversed?". |
void |
setIndicatorStyle(com.klg.jclass.swing.gauge.JCIndicatorStyle indicatorStyle)
Sets the JCIndicatorStyle for this indicator. |
void |
setIndicatorWidth(double indicatorWidth)
Sets the indicator width in pixels. |
void |
setInnerExtent(double inner_extent)
Sets the inner extent of this indicator as a ratio of the scale's width, height, or radius (depending on the scale's type and orientation). |
void |
setOuterExtent(double outer_extent)
Sets the outer extent of this indicator as a ratio of the scale's width, height, or radius (depending on the scale's type and orientation). |
void |
setReversed(boolean reversed)
Sets the reversed property of the indicator. |
void |
setValue(double value)
Sets the scale value to which this indicator should point. |
Method Detail |
public com.klg.jclass.swing.gauge.JCIndicatorStyle getIndicatorStyle()
JCIndicatorStyle
for this indicator.
JCIndicatorStyle
of this indicatorpublic double getIndicatorWidth()
public double getInnerExtent()
inner_exent
of this indicator as a ratio of the
scale's width, height, or radius (depending on the scale's type and
orientation)public double getOuterExtent()
outer_exent
of this indicator as a ratio of the
scale's width, height, or radius (depending on the scale's type and
orientation)public double getValue()
public com.klg.jclass.swing.gauge.JCScale getScale()
JCAbstractIndicator
componentpublic boolean isReversed()
public void setIndicatorStyle(com.klg.jclass.swing.gauge.JCIndicatorStyle indicatorStyle)
JCIndicatorStyle
for this indicator.
indicatorStyle
- the JCIndicatorStyle
for this indicatorpublic void setIndicatorWidth(double indicatorWidth)
indicatorWidth
- the indicator width in pixelspublic void setInnerExtent(double inner_extent)
inner_extent
- the inner extent of this indicator as a ratio of the
scale's width, height, or radius (depending on the scale's type and
orientation)public void setOuterExtent(double outer_extent)
outer_extent
- the outer extent of this indicator as a ratio of the
scale's width, height, or radius (depending on the scale's type and
orientation)public void setReversed(boolean reversed)
reversed
- is the indicator's direction reversedpublic void setValue(double value)
value
- the value at which to point
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |