Class StiCustomValueBase

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

public abstract class StiCustomValueBase extends Object
Copyright Stimulsoft
  • Field Details

    • value

      public double value
    • placement

      protected StiPlacement placement
    • offset

      protected Double offset
  • Constructor Details

    • StiCustomValueBase

      public StiCustomValueBase()
  • Method Details

    • 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 Object clone()
      Creates a new object that is a copy of the current instance.
      Overrides:
      clone in class 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 Double getOffset()
      the offset ratio of an item.
      Returns:
      the offset
    • setOffset

      public void setOffset(Double offset)
      the offset ratio of an item.
      Parameters:
      offset - the offset to set
    • getLocalizedName

      public abstract String getLocalizedName()
    • createNew

      public StiCustomValueBase createNew()