com.stimulsoft.report.infographics.gauge.primitives.base
Class StiGaugeElement

java.lang.Object
  extended by com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
      extended by com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiApplyStyleGauge, java.lang.Cloneable
Direct Known Subclasses:
StiIndicatorBase, StiScaleRangeList, StiTickBase

public abstract class StiGaugeElement
extends StiElementBase
implements IStiJsonReportObject, IStiSerializableRef

Copyright Stimulsoft


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiGaugeElement()
           
 
Method Summary
 void cleanReference()
           
 StiGaugeElement createNew()
           
 StiAnimation getAnimation()
           
 StiGaugeElemenType getElementType()
           
 java.lang.String getLocalizeName()
           
 int getReference()
           
 StiScaleBase getScale()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 void prepareGaugeElement()
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAnimation(StiAnimation animation)
           
 void setReference(int reference)
          Установить значение ссылки.
 void setScale(StiScaleBase scale)
           
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
applyStyle, clone, drawElement, isAllowApplyStyle, setAllowApplyStyle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiGaugeElement

public StiGaugeElement()
Method Detail

setReference

public void setReference(int reference)
Description copied from interface: IStiSerializableRef
Установить значение ссылки.

Specified by:
setReference in interface IStiSerializableRef
Parameters:
reference - значение ссылки

getReference

public int getReference()
Specified by:
getReference in interface IStiSerializableRef
Returns:
значение ссылки.

cleanReference

public void cleanReference()

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Throws:
JSONException

getAnimation

public StiAnimation getAnimation()
Returns:
the animation

setAnimation

public void setAnimation(StiAnimation animation)
Parameters:
animation - the animation to set

getElementType

public StiGaugeElemenType getElementType()

getLocalizeName

public java.lang.String getLocalizeName()

getScale

public StiScaleBase getScale()
Returns:
the scale

setScale

public void setScale(StiScaleBase scale)
Parameters:
scale - the scale to set

createNew

public StiGaugeElement createNew()

prepareGaugeElement

public void prepareGaugeElement()