com.stimulsoft.report.infographics.gauge.indicators
Class StiLinearBar

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
              extended by com.stimulsoft.report.infographics.gauge.primitives.indicators.StiBarBase
                  extended by com.stimulsoft.report.infographics.gauge.indicators.StiLinearBar
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiApplyStyleGauge, java.lang.Cloneable

public class StiLinearBar
extends StiBarBase

Copyright Stimulsoft


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiLinearBar()
           
 
Method Summary
 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.
 StiGaugeElement createNew()
           
 void drawElement(StiGaugeContextPainter context)
           
 StiComponentId getComponentId()
           
 java.lang.String getLocalizeName()
           
 StiLinearRangeColorMode getRangeColorMode()
          value which indicates the mode that is used to build bar indicator background.
 StiLinearBarSkin getSkin()
          the skin of the component rendering.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setRangeColorMode(StiLinearRangeColorMode rangeColorMode)
          value which indicates the mode that is used to build bar indicator background.
 void setSkin(StiLinearBarSkin skin)
          the skin of the component rendering.
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.indicators.StiBarBase
getEmptyBorderBrush, getEmptyBorderWidth, getEmptyBrush, getEndWidth, getOffset, getRangeList, getStartWidth, isUseRangeColor, setEmptyBorderBrush, setEmptyBorderWidth, setEmptyBrush, setEndWidth, setOffset, setRangeList, setStartWidth, setUseRangeColor
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.indicators.StiIndicatorBase
getBorderBrush, getBorderWidth, getBrush, getGetValueEvent, getPlacement, getValue, getValueObj, InvokeGetValue, prepareGaugeElement, setBorderBrush, setBorderWidth, setBrush, setGetValueEvent, setPlacement, setValue, setValueObj
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
cleanReference, getAnimation, getElementType, getReference, getScale, setAnimation, setReference, setScale
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
isAllowApplyStyle, setAllowApplyStyle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiLinearBar

public StiLinearBar()
Method Detail

SaveToJsonObject

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

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiBarBase
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 StiBarBase

getComponentId

public StiComponentId getComponentId()

applyStyle

public void applyStyle(IStiGaugeStyle style)
Description copied from interface: IStiApplyStyleGauge
Apply style to component which release this interface.

Specified by:
applyStyle in interface IStiApplyStyleGauge
Overrides:
applyStyle in class StiElementBase

getSkin

public StiLinearBarSkin getSkin()
the skin of the component rendering.

Returns:
the skin

setSkin

public void setSkin(StiLinearBarSkin skin)
the skin of the component rendering.

Parameters:
skin - the skin to set

getRangeColorMode

public StiLinearRangeColorMode getRangeColorMode()
value which indicates the mode that is used to build bar indicator background.

Returns:
the rangeColorMode

setRangeColorMode

public void setRangeColorMode(StiLinearRangeColorMode rangeColorMode)
value which indicates the mode that is used to build bar indicator background.

Parameters:
rangeColorMode - the rangeColorMode to set

getLocalizeName

public java.lang.String getLocalizeName()
Overrides:
getLocalizeName in class StiGaugeElement

createNew

public StiGaugeElement createNew()
Overrides:
createNew in class StiGaugeElement

drawElement

public void drawElement(StiGaugeContextPainter context)
Overrides:
drawElement in class StiElementBase