public class StiRadialTickLabelCustomValue extends StiCustomValueBase
offset, placement, value| Constructor and Description |
|---|
StiRadialTickLabelCustomValue() |
StiRadialTickLabelCustomValue(double value,
java.lang.String text) |
StiRadialTickLabelCustomValue(double value,
java.lang.String text,
double offset) |
StiRadialTickLabelCustomValue(double value,
java.lang.String text,
java.lang.Double offset,
java.lang.Double offsetAngle,
StiLabelRotationMode labelRotationMode,
StiPlacement placement) |
| Modifier and Type | Method and Description |
|---|---|
StiCustomValueBase |
createNew() |
StiComponentId |
getComponentId() |
StiLabelRotationMode |
getLabelRotationMode()
the rotation mode of labels.
|
java.lang.String |
getLocalizedName() |
java.lang.Double |
getOffsetAngle()
an additional rotation angle.
|
java.lang.String |
getText()
text corresponds to this tick label.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setLabelRotationMode(StiLabelRotationMode labelRotationMode)
the rotation mode of labels.
|
void |
setOffsetAngle(java.lang.Double offsetAngle)
an additional rotation angle.
|
void |
setText(java.lang.String text)
text corresponds to this tick label.
|
java.lang.String |
toString() |
clone, getOffset, getPlacement, getValue, setOffset, setPlacement, setValuepublic StiRadialTickLabelCustomValue()
public StiRadialTickLabelCustomValue(double value,
java.lang.String text)
public StiRadialTickLabelCustomValue(double value,
java.lang.String text,
double offset)
public StiRadialTickLabelCustomValue(double value,
java.lang.String text,
java.lang.Double offset,
java.lang.Double offsetAngle,
StiLabelRotationMode labelRotationMode,
StiPlacement placement)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in class StiCustomValueBaseJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in class StiCustomValueBaseJSONExceptionpublic StiComponentId getComponentId()
getComponentId in class StiCustomValueBasepublic java.lang.String getText()
public void setText(java.lang.String text)
text - the text to setpublic java.lang.Double getOffsetAngle()
public void setOffsetAngle(java.lang.Double offsetAngle)
offsetAngle - the offsetAngle to setpublic StiLabelRotationMode getLabelRotationMode()
public void setLabelRotationMode(StiLabelRotationMode labelRotationMode)
labelRotationMode - the labelRotationMode to setpublic java.lang.String getLocalizedName()
getLocalizedName in class StiCustomValueBasepublic java.lang.String toString()
toString in class java.lang.Objectpublic StiCustomValueBase createNew()
createNew in class StiCustomValueBaseCopyright © 2019 Stimulsoft. All Rights Reserved.