com.stimulsoft.report.infographics.gauge.tick.radial.label
Class StiRadialTickLabelCustomValue

java.lang.Object
  extended by com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
      extended by com.stimulsoft.report.infographics.gauge.tick.radial.label.StiRadialTickLabelCustomValue

public class StiRadialTickLabelCustomValue
extends StiCustomValueBase

Copyright Stimulsoft


Field Summary
 
Fields inherited from class com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
value
 
Constructor Summary
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)
           
 
Method Summary
 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()
           
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
clone, getOffset, getPlacement, getValue, setOffset, setPlacement, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StiRadialTickLabelCustomValue

public StiRadialTickLabelCustomValue()

StiRadialTickLabelCustomValue

public StiRadialTickLabelCustomValue(double value,
                                     java.lang.String text)

StiRadialTickLabelCustomValue

public StiRadialTickLabelCustomValue(double value,
                                     java.lang.String text,
                                     double offset)

StiRadialTickLabelCustomValue

public StiRadialTickLabelCustomValue(double value,
                                     java.lang.String text,
                                     java.lang.Double offset,
                                     java.lang.Double offsetAngle,
                                     StiLabelRotationMode labelRotationMode,
                                     StiPlacement placement)
Method Detail

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Overrides:
SaveToJsonObject in class StiCustomValueBase
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Overrides:
LoadFromJsonObject in class StiCustomValueBase
Throws:
JSONException

getComponentId

public StiComponentId getComponentId()
Specified by:
getComponentId in class StiCustomValueBase

getText

public java.lang.String getText()
text corresponds to this tick label.

Returns:
the text

setText

public void setText(java.lang.String text)
text corresponds to this tick label.

Parameters:
text - the text to set

getOffsetAngle

public java.lang.Double getOffsetAngle()
an additional rotation angle.

Returns:
the offsetAngle

setOffsetAngle

public void setOffsetAngle(java.lang.Double offsetAngle)
an additional rotation angle.

Parameters:
offsetAngle - the offsetAngle to set

getLabelRotationMode

public StiLabelRotationMode getLabelRotationMode()
the rotation mode of labels.

Returns:
the labelRotationMode

setLabelRotationMode

public void setLabelRotationMode(StiLabelRotationMode labelRotationMode)
the rotation mode of labels.

Parameters:
labelRotationMode - the labelRotationMode to set

getLocalizedName

public java.lang.String getLocalizedName()
Specified by:
getLocalizedName in class StiCustomValueBase

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createNew

public StiCustomValueBase createNew()
Overrides:
createNew in class StiCustomValueBase