com.stimulsoft.report.infographics.gauge.scales
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, java.lang.Cloneable
public class StiLinearScale
- extends StiScaleBase
Copyright Stimulsoft
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.scales.StiScaleBase |
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, setTop |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiLinearScale
public StiLinearScale()
SaveToJsonObject
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
- Specified by:
SaveToJsonObject
in interface IStiJsonReportObject
- Overrides:
SaveToJsonObject
in class StiScaleBase
- Throws:
JSONException
LoadFromJsonObject
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
- Specified by:
LoadFromJsonObject
in interface IStiJsonReportObject
- Overrides:
LoadFromJsonObject
in class StiScaleBase
- Throws:
JSONException
getComponentId
public StiComponentId getComponentId()
- Specified by:
getComponentId
in class StiScaleBase
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
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 StiScaleBase
getOrientation
public StiOrientation getOrientation()
- linearScale orientation.
- Returns:
- the orientation
setOrientation
public void setOrientation(StiOrientation orientation)
- 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
public StiGaugeElemenType getScaleType()
- Specified by:
getScaleType
in class StiScaleBase
createNew
public StiScaleBase createNew()
- Overrides:
createNew
in class StiScaleBase