Class StiLinearBar
java.lang.Object
com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
com.stimulsoft.report.infographics.gauge.primitives.indicators.StiIndicatorBase
com.stimulsoft.report.infographics.gauge.primitives.indicators.StiBarBase
com.stimulsoft.report.infographics.gauge.indicators.StiLinearBar
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiApplyStyleGauge,Cloneable
Copyright Stimulsoft
-
Field Summary
Fields inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
animation, scaleFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStyle(IStiGaugeStyle style) Apply style to component which release this interface.protected voidclone()Creates a new object that is a copy of the current instance.voiddrawElement(StiGaugeContextPainter context) protected StiBarRangeListTypevalue which indicates the mode that is used to build bar indicator background.getSkin()the skin of the component rendering.doubleprotected voidinteractiveClick(StiRectangle rect, StiPoint p) voidLoadFromJsonObject(JSONObject jObject) protected voidprotected voidvoidsetRangeColorMode(StiLinearRangeColorMode rangeColorMode) value which indicates the mode that is used to build bar indicator background.voidsetSkin(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, onValueChanged, setEmptyBorderBrush, setEmptyBorderWidth, setEmptyBrush, setEndWidth, setOffset, setRangeList, setStartWidth, setUseRangeColorMethods inherited from class com.stimulsoft.report.infographics.gauge.primitives.indicators.StiIndicatorBase
getActualValue, getBorderBrush, getBorderWidth, getBrush, getGetValueEvent, getPlacement, getValue, InvokeGetValue, OnGetValue, prepareGaugeElement, setBorderBrush, setBorderWidth, setBrush, setGetValueEvent, setPlacement, setValue, setValueObjMethods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
cleanReference, getAnimation, getElementType, getReference, getScale, setAnimation, setReference, setScaleMethods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
isAllowApplyStyle, setAllowApplyStyle
-
Constructor Details
-
StiLinearBar
public StiLinearBar()
-
-
Method Details
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiBarBase- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiBarBase- Throws:
JSONException
-
clone
Description copied from class:StiElementBaseCreates a new object that is a copy of the current instance.- Overrides:
clonein classStiBarBase
-
onRangeColorChanged
protected void onRangeColorChanged()- Specified by:
onRangeColorChangedin classStiBarBase
-
getComponentId
-
applyStyle
Description copied from interface:IStiApplyStyleGaugeApply style to component which release this interface.- Specified by:
applyStylein interfaceIStiApplyStyleGauge- Overrides:
applyStylein classStiElementBase- Parameters:
style-
-
getSkin
the skin of the component rendering.- Returns:
- the skin
-
setSkin
the skin of the component rendering.- Parameters:
skin- the skin to set
-
getRangeColorMode
value which indicates the mode that is used to build bar indicator background.- Returns:
- the rangeColorMode
-
setRangeColorMode
value which indicates the mode that is used to build bar indicator background.- Parameters:
rangeColorMode- the rangeColorMode to set
-
pnRangeColorChanged
protected void pnRangeColorChanged() -
getBarType
- Specified by:
getBarTypein classStiBarBase
-
getLocalizeName
- Overrides:
getLocalizeNamein classStiGaugeElement
-
checkActualBrushForTopGeometry
protected void checkActualBrushForTopGeometry()- Specified by:
checkActualBrushForTopGeometryin classStiBarBase
-
createNew
- Overrides:
createNewin classStiGaugeElement
-
interactiveClick
- Specified by:
interactiveClickin classStiIndicatorBase
-
getValueObj
public double getValueObj()- Overrides:
getValueObjin classStiIndicatorBase- Returns:
- the valueObj
-
drawElement
- Overrides:
drawElementin classStiElementBase
-