com.stimulsoft.report.infographics.gauge.indicators
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, java.lang.Cloneable
public class StiLinearBar
- extends StiBarBase
Copyright Stimulsoft
| 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, setUseRangeColor |
| Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.indicators.StiIndicatorBase |
getBorderBrush, getBorderWidth, getBrush, getGetValueEvent, getPlacement, getValue, getValueObj, InvokeGetValue, OnGetValue, prepareGaugeElement, setBorderBrush, setBorderWidth, setBrush, setGetValueEvent, setPlacement, setValue, setValueObj |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiLinearBar
public StiLinearBar()
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
onRangeColorChanged
protected void onRangeColorChanged()
- Specified by:
onRangeColorChanged 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
pnRangeColorChanged
protected void pnRangeColorChanged()
getBarType
protected StiBarRangeListType getBarType()
- Specified by:
getBarType in class StiBarBase
getLocalizeName
public java.lang.String getLocalizeName()
- Overrides:
getLocalizeName in class StiGaugeElement
checkActualBrushForTopGeometry
protected void checkActualBrushForTopGeometry()
- Specified by:
checkActualBrushForTopGeometry in class StiBarBase
createNew
public StiGaugeElement createNew()
- Overrides:
createNew in class StiGaugeElement
interactiveClick
protected void interactiveClick(StiRectangle rect,
StiPoint p)
- Specified by:
interactiveClick in class StiIndicatorBase
drawElement
public void drawElement(StiGaugeContextPainter context)
- Overrides:
drawElement in class StiElementBase
Copyright © 2018 Stimulsoft. All Rights Reserved.