Class StiTickLabelBase
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.StiTickLabelBase
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiApplyStyleGauge,Cloneable
- Direct Known Subclasses:
StiLinearTickLabelBase,StiRadialTickLabelBase
Copyright Stimulsoft
-
Field Summary
FieldsFields 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.getFont()font of component.a brush to draw text.the format used to convert value to a String.protected StringgetTextForRender(Double value, String format) protected StringgetTextForRender(String value) protected StringgetTextForRender(String value, String format) voidLoadFromJsonObject(JSONObject jObject) voidfont of component.voidsetTextBrush(StiBrush textBrush) a brush to draw text.voidsetTextFormat(String textFormat) the format used to convert value to a String.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
-
Field Details
-
formatService
-
-
Constructor Details
-
StiTickLabelBase
public StiTickLabelBase()
-
-
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
-
getTextFormat
the format used to convert value to a String.- Returns:
- the textFormat
-
setTextFormat
the format used to convert value to a String.- Parameters:
textFormat- the textFormat to set
-
getTextBrush
a brush to draw text.- Returns:
- the textBrush
-
setTextBrush
a brush to draw text.- Parameters:
textBrush- the textBrush to set
-
getFont
font of component.- Returns:
- the font
-
setFont
font of component.- Parameters:
font- the font to set
-
getTextForRender
-
getTextForRender
-
getTextForRender
-