Class StiTickMarkBase
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.tick.StiTickBase
com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickMarkBase
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiApplyStyleGauge,Cloneable
- Direct Known Subclasses:
StiLinearTickMarkBase,StiRadialTickMarkBase
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 TypeMethodDescriptionclone()Creates a new object that is a copy of the current instance.protected StiGaugeElementSkinthe border of the component.doublethe border thickness of the component.getBrush()a brush to fill a component.doublethe height factor relative to the height of the basic component.protected doublegetRelativeHeight(Double value) doublethe width ratio relative to the height of the basic component.protected doublegetRelativeWidth(Double value) getSkin()the skin of the component rendering.voidLoadFromJsonObject(JSONObject jObject) voidsetBorderBrush(StiBrush borderBrush) the border of the component.voidsetBorderWidth(double borderWidth) the border thickness of the component.voida brush to fill a component.voidsetCustomSkin(StiGaugeElementSkin customSkin) voidsetRelativeHeight(double relativeHeight) the height factor relative to the height of the basic component.voidsetRelativeWidth(double relativeWidth) the width ratio relative to the height of the basic component.voidsetSkin(StiTickMarkSkin skin) the skin of the component rendering.Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickBase
checkTickValue, getMajorCollections, getMaximumValue, getMinimumValue, getMinorCollections, getOffset, getOffset, getPlacement, getPlacement, getPointCollection, getSkipIndices, getSkipIndicesObj, getSkipValues, getSkipValuesObj, isSkipMajorValues, prepareGaugeElement, setMaximumValue, setMinimumValue, setOffset, setPlacement, setSkipIndices, setSkipIndicesObj, setSkipValues, setSkipValuesObjMethods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
cleanReference, createNew, getAnimation, getElementType, getLocalizeName, getReference, getScale, setAnimation, setReference, setScaleMethods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
applyStyle, drawElement, isAllowApplyStyle, setAllowApplyStyle
-
Constructor Details
-
StiTickMarkBase
public StiTickMarkBase()
-
-
Method Details
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiTickBase- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiTickBase- Throws:
JSONException
-
clone
Description copied from class:StiElementBaseCreates a new object that is a copy of the current instance.- Overrides:
clonein classStiTickBase
-
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
-
getRelativeWidth
public double getRelativeWidth()the width ratio relative to the height of the basic component.- Returns:
- the relativeWidth
-
setRelativeWidth
public void setRelativeWidth(double relativeWidth) the width ratio relative to the height of the basic component.- Parameters:
relativeWidth- the relativeWidth to set
-
getSkin
the skin of the component rendering.- Returns:
- the skin
-
setSkin
the skin of the component rendering.- Parameters:
skin- the skin to set
-
getCustomSkin
- Returns:
- the customSkin
-
setCustomSkin
- Parameters:
customSkin- the customSkin to set
-
getBrush
a brush to fill a component.- Returns:
- the brush
-
setBrush
a brush to fill a component.- Parameters:
brush- the brush to set
-
getBorderBrush
the border of the component.- Returns:
- the borderBrush
-
setBorderBrush
the border of the component.- Parameters:
borderBrush- the borderBrush to set
-
getBorderWidth
public double getBorderWidth()the border thickness of the component.- Returns:
- the borderWidth
-
setBorderWidth
public void setBorderWidth(double borderWidth) the border thickness of the component.- Parameters:
borderWidth- the borderWidth to set
-
getActualSkin
-
getRelativeWidth
-
getRelativeHeight
-