Class StiCustomValueBase
java.lang.Object
com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
- Direct Known Subclasses:
StiLinearTickLabelCustomValue,StiLinearTickMarkCustomValue,StiRadialTickLabelCustomValue,StiRadialTickMarkCustomValue
Copyright Stimulsoft
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a copy of the current instance.abstract StiComponentIdabstract Stringthe offset ratio of an item.the placement of the component.doublegetValue()value corresponds to this tick element.voidLoadFromJsonObject(JSONObject jObject) voidthe offset ratio of an item.voidsetPlacement(StiPlacement placement) the placement of the component.voidsetValue(double value) value corresponds to this tick element.
-
Field Details
-
value
public double value -
placement
-
offset
-
-
Constructor Details
-
StiCustomValueBase
public StiCustomValueBase()
-
-
Method Details
-
SaveToJsonObject
- Throws:
JSONException
-
LoadFromJsonObject
- Throws:
JSONException
-
getComponentId
-
clone
Creates a new object that is a copy of the current instance. -
getValue
public double getValue()value corresponds to this tick element.- Returns:
- the value
-
setValue
public void setValue(double value) value corresponds to this tick element.- Parameters:
value- the value to set
-
getPlacement
the placement of the component.- Returns:
- the placement
-
setPlacement
the placement of the component.- Parameters:
placement- the placement to set
-
getOffset
the offset ratio of an item.- Returns:
- the offset
-
setOffset
the offset ratio of an item.- Parameters:
offset- the offset to set
-
getLocalizedName
-
createNew
-