com.stimulsoft.report.infographics.gauge.tick
Class StiCustomValueBase

java.lang.Object
  extended by com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
Direct Known Subclasses:
StiLinearTickLabelCustomValue, StiLinearTickMarkCustomValue, StiRadialTickLabelCustomValue, StiRadialTickMarkCustomValue

public abstract class StiCustomValueBase
extends java.lang.Object

Copyright Stimulsoft


Field Summary
 double value
           
 
Constructor Summary
StiCustomValueBase()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 StiCustomValueBase createNew()
           
abstract  StiComponentId getComponentId()
           
abstract  java.lang.String getLocalizedName()
           
 java.lang.Double getOffset()
          the offset ratio of an item.
 StiPlacement getPlacement()
          the placement of the component.
 double getValue()
          value corresponds to this tick element.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setOffset(java.lang.Double offset)
          the offset ratio of an item.
 void setPlacement(StiPlacement placement)
          the placement of the component.
 void setValue(double value)
          value corresponds to this tick element.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public double value
Constructor Detail

StiCustomValueBase

public StiCustomValueBase()
Method Detail

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Throws:
JSONException

getComponentId

public abstract StiComponentId getComponentId()

clone

public java.lang.Object clone()
Creates a new object that is a copy of the current instance.

Overrides:
clone in class java.lang.Object

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

public StiPlacement getPlacement()
the placement of the component.

Returns:
the placement

setPlacement

public void setPlacement(StiPlacement placement)
the placement of the component.

Parameters:
placement - the placement to set

getOffset

public java.lang.Double getOffset()
the offset ratio of an item.

Returns:
the offset

setOffset

public void setOffset(java.lang.Double offset)
the offset ratio of an item.

Parameters:
offset - the offset to set

getLocalizedName

public abstract java.lang.String getLocalizedName()

createNew

public StiCustomValueBase createNew()