public class StiRadialScale extends StiScaleBase
StiScaleBase.StiScaleHelperbarGeometry, endWidth, gauge, scaleHelper, startWidthREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiRadialScale() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyStyle(IStiGaugeStyle style)
Apply style to component which release this interface.
|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance.
|
StiScaleBase |
createNew() |
StiPoint |
getCenter()
center of the radial scale.
|
StiComponentId |
getComponentId() |
double |
getCurrentAngle(double angle) |
double |
GetEndWidth() |
double |
getRadius()
outer radius of the radial scale.
|
double |
GetRadius()
outer radius of the radial scale.
|
StiRadiusMode |
getRadiusMode()
the mode of calculating the radius RadialScale.
|
StiGaugeElemenType |
getScaleType() |
StiRadialScaleSkin |
getSkin()
the skin of the component rendering.
|
double |
getStartAngle()
start angle of the radial scale.
|
double |
GetStartWidth() |
double |
getSweepAngle()
sweep angle of the radial scale.
|
double |
GetSweepAngle() |
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setCenter(StiPoint center)
center of the radial scale.
|
void |
setRadius(double radius)
outer radius of the radial scale.
|
void |
setRadiusMode(StiRadiusMode radiusMode)
the mode of calculating the radius RadialScale.
|
void |
setSkin(StiRadialScaleSkin skin)
the skin of the component rendering.
|
void |
setStartAngle(double startAngle)
start angle of the radial scale.
|
void |
setSweepAngle(double sweepAngle)
sweep angle of the radial scale.
|
cleanReference, drawElement, getBorderBrush, getBrush, getEndWidth, getGauge, getIsReversed, getItems, getLeft, getMajorInterval, getMaximum, getMinimum, getMinorInterval, getPosition, getPropName, getReference, getStartWidth, getTop, isUp, prepare, setBorderBrush, setBrush, setEndWidth, setGauge, setIsReversed, setItems, setLeft, setMajorInterval, setMaximum, setMinimum, setMinorInterval, setReference, setStartWidth, setTopisAllowApplyStyle, setAllowApplyStylepublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiScaleBaseJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiScaleBaseJSONExceptionpublic StiComponentId getComponentId()
getComponentId in class StiScaleBasepublic java.lang.Object clone()
StiElementBaseclone in class StiScaleBasepublic void applyStyle(IStiGaugeStyle style)
IStiApplyStyleGaugeapplyStyle in interface IStiApplyStyleGaugeapplyStyle in class StiElementBasepublic void setRadius(double radius)
radius - the radius to setpublic double getRadius()
public StiRadiusMode getRadiusMode()
public void setRadiusMode(StiRadiusMode radiusMode)
radiusMode - the radiusMode to setpublic StiPoint getCenter()
public void setCenter(StiPoint center)
center - the center to setpublic double getStartAngle()
public void setStartAngle(double startAngle)
startAngle - the startAngle to setpublic double getSweepAngle()
public void setSweepAngle(double sweepAngle)
sweepAngle - the sweepAngle to setpublic StiRadialScaleSkin getSkin()
public void setSkin(StiRadialScaleSkin skin)
skin - the skin to setpublic StiGaugeElemenType getScaleType()
getScaleType in class StiScaleBasepublic double GetRadius()
public double GetStartWidth()
public double GetEndWidth()
public double GetSweepAngle()
public double getCurrentAngle(double angle)
public StiScaleBase createNew()
createNew in class StiScaleBaseCopyright © 2019 Stimulsoft. All Rights Reserved.