Class StiLinearScale
java.lang.Object
com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
com.stimulsoft.report.infographics.gauge.primitives.scales.StiScaleBase
com.stimulsoft.report.infographics.gauge.scales.StiLinearScale
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiApplyStyleGauge,Cloneable
Copyright Stimulsoft
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stimulsoft.report.infographics.gauge.primitives.scales.StiScaleBase
StiScaleBase.StiScaleHelper -
Field Summary
Fields inherited from class com.stimulsoft.report.infographics.gauge.primitives.scales.StiScaleBase
barGeometry, endWidth, gauge, scaleHelper, startWidthFields 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.clone()Creates a new object that is a copy of the current instance.linearScale orientation.doublethe height factor relative to the height of the basic component.protected voidvoidLoadFromJsonObject(JSONObject jObject) voidsetOrientation(StiOrientation orientation) linearScale orientation.voidsetRelativeHeight(double relativeHeight) the height factor relative to the height of the basic component.Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.scales.StiScaleBase
calculateMinMaxScaleHelper, calculateWidthScaleHelper, cleanReference, drawElement, getBorderBrush, getBrush, getEndWidth, getGauge, getIsReversed, getItems, getLeft, getMajorInterval, getMaximum, getMinimum, getMinorInterval, getPosition, getPropName, getReference, getStartWidth, getTop, isUp, prepare, setBorderBrush, setBrush, setEndWidth, setGauge, setIsReversed, setItems, setLeft, setMajorInterval, setMaximum, setMinimum, setMinorInterval, setReference, setStartWidth, setTopMethods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
isAllowApplyStyle, setAllowApplyStyle
-
Constructor Details
-
StiLinearScale
public StiLinearScale()
-
-
Method Details
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiScaleBase- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiScaleBase- Throws:
JSONException
-
getComponentId
- Specified by:
getComponentIdin classStiScaleBase
-
applyStyle
Description copied from interface:IStiApplyStyleGaugeApply style to component which release this interface.- Specified by:
applyStylein interfaceIStiApplyStyleGauge- Overrides:
applyStylein classStiElementBase- Parameters:
style-
-
clone
Description copied from class:StiElementBaseCreates a new object that is a copy of the current instance.- Overrides:
clonein classStiScaleBase
-
getOrientation
linearScale orientation.- Returns:
- the orientation
-
setOrientation
linearScale orientation.- Parameters:
orientation- the orientation to set
-
getRelativeHeight
public double getRelativeHeight()the height factor relative to the height of the basic component.- Returns:
- the relativeHeight
-
setRelativeHeight
public void setRelativeHeight(double relativeHeight) the height factor relative to the height of the basic component.- Parameters:
relativeHeight- the relativeHeight to set
-
getScaleType
- Specified by:
getScaleTypein classStiScaleBase
-
interactiveClick
-
createNew
- Overrides:
createNewin classStiScaleBase
-