com.stimulsoft.report.infographics.gauge.tick.linear.label
Class StiLinearTickLabelCustomValue

java.lang.Object
  extended by com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
      extended by com.stimulsoft.report.infographics.gauge.tick.linear.label.StiLinearTickLabelCustomValue

public class StiLinearTickLabelCustomValue
extends StiCustomValueBase

Copyright Stimulsoft


Field Summary
 
Fields inherited from class com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
value
 
Constructor Summary
StiLinearTickLabelCustomValue()
           
StiLinearTickLabelCustomValue(double value, java.lang.String text)
           
StiLinearTickLabelCustomValue(double value, java.lang.String text, java.lang.Double offset, StiPlacement placement)
           
 
Method Summary
 StiCustomValueBase createNew()
           
 StiComponentId getComponentId()
           
 java.lang.String getLocalizedName()
           
 java.lang.String getText()
          text corresponds to this tick label.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 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

StiLinearTickLabelCustomValue

public StiLinearTickLabelCustomValue()

StiLinearTickLabelCustomValue

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

StiLinearTickLabelCustomValue

public StiLinearTickLabelCustomValue(double value,
                                     java.lang.String text,
                                     java.lang.Double offset,
                                     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

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