Class StiGaugeElement
java.lang.Object
com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiApplyStyleGauge,Cloneable
- Direct Known Subclasses:
StiIndicatorBase,StiScaleRangeList,StiTickBase
public abstract class StiGaugeElement
extends StiElementBase
implements IStiJsonReportObject, IStiSerializableRef
Copyright Stimulsoft
-
Field Summary
FieldsFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintgetScale()voidLoadFromJsonObject(JSONObject jObject) voidvoidsetAnimation(StiAnimation animation) voidsetReference(int reference) voidsetScale(StiScaleBase scale) Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
applyStyle, clone, drawElement, isAllowApplyStyle, setAllowApplyStyle
-
Field Details
-
animation
-
scale
-
-
Constructor Details
-
StiGaugeElement
public StiGaugeElement()
-
-
Method Details
-
setReference
public void setReference(int reference) - Specified by:
setReferencein interfaceIStiSerializableRef
-
getReference
public int getReference()- Specified by:
getReferencein interfaceIStiSerializableRef
-
cleanReference
public void cleanReference() -
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
getAnimation
- Returns:
- the animation
-
setAnimation
- Parameters:
animation- the animation to set
-
getElementType
-
getLocalizeName
-
getScale
- Returns:
- the scale
-
setScale
- Parameters:
scale- the scale to set
-
createNew
-
prepareGaugeElement
public void prepareGaugeElement()
-