com.stimulsoft.report.infographics.gauge.primitives.indicators
Class StiIndicatorBase

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

public abstract class StiIndicatorBase
extends StiGaugeElement

Copyright Stimulsoft


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiIndicatorBase()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 StiBrush getBorderBrush()
          the border of the component.
 double getBorderWidth()
          the border thickness of the component.
 StiBrush getBrush()
           
 StiGetValueEvent getGetValueEvent()
          Occurs when getting the property Value.
 StiPlacement getPlacement()
           
 StiValueExpression getValue()
          the current position of an indicator.
 double getValueObj()
           
 void InvokeGetValue(StiGaugeElement sender, StiGetValueEventArgs e)
          Raises the GetValue event.
 void LoadFromJsonObject(JSONObject jObject)
           
 void prepareGaugeElement()
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setBorderBrush(StiBrush borderBrush)
          the border of the component.
 void setBorderWidth(double borderWidth)
          the border thickness of the component.
 void setBrush(StiBrush brush)
           
 void setGetValueEvent(StiGetValueEvent getValueEvent)
          Occurs when getting the property Value.
 void setPlacement(StiPlacement placement)
           
 void setValue(StiValueExpression value)
          the current position of an indicator.
 void setValueObj(double valueObj)
           
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
cleanReference, createNew, getAnimation, getElementType, getLocalizeName, getReference, getScale, setAnimation, setReference, setScale
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
applyStyle, drawElement, isAllowApplyStyle, setAllowApplyStyle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiIndicatorBase

public StiIndicatorBase()
Method Detail

SaveToJsonObject

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

LoadFromJsonObject

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

clone

public java.lang.Object clone()
Description copied from class: StiElementBase
Creates a new object that is a copy of the current instance.

Overrides:
clone in class StiElementBase

getValueObj

public double getValueObj()
Returns:
the valueObj

setValueObj

public void setValueObj(double valueObj)
Parameters:
valueObj - the valueObj to set

getPlacement

public StiPlacement getPlacement()
Returns:
the placement

setPlacement

public void setPlacement(StiPlacement placement)
Parameters:
placement - the placement to set

getBrush

public StiBrush getBrush()
Returns:
the brush

setBrush

public void setBrush(StiBrush brush)
Parameters:
brush - the brush to set

getBorderBrush

public StiBrush getBorderBrush()
the border of the component.

Returns:
the borderBrush

setBorderBrush

public void setBorderBrush(StiBrush borderBrush)
the border of the component.

Parameters:
borderBrush - the borderBrush to set

getBorderWidth

public double getBorderWidth()
the border thickness of the component.

Returns:
the borderWidth

setBorderWidth

public void setBorderWidth(double borderWidth)
the border thickness of the component.

Parameters:
borderWidth - the borderWidth to set

InvokeGetValue

public void InvokeGetValue(StiGaugeElement sender,
                           StiGetValueEventArgs e)
Raises the GetValue event.

Parameters:
sender -
e -

getGetValueEvent

public StiGetValueEvent getGetValueEvent()
Occurs when getting the property Value.

Returns:
the getValueEvent

setGetValueEvent

public void setGetValueEvent(StiGetValueEvent getValueEvent)
Occurs when getting the property Value.

Parameters:
getValueEvent - the getValueEvent to set

getValue

public StiValueExpression getValue()
the current position of an indicator.

Returns:
the value

setValue

public void setValue(StiValueExpression value)
the current position of an indicator.

Parameters:
value - the value to set

prepareGaugeElement

public void prepareGaugeElement()
Overrides:
prepareGaugeElement in class StiGaugeElement