com.stimulsoft.report.chart.view.axis
Class StiAxisRange

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.chart.view.axis.StiAxisRange
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiAxisRange, java.lang.Cloneable

public class StiAxisRange
extends StiSerializedObject
implements IStiAxisRange, java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiAxisRange()
           
StiAxisRange(boolean auto, double minimum, double maximum)
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 boolean getAuto()
          Gets or sets value which indicates that minimum and maximum values will be calculated automatically.
 double getMaximum()
          Gets or sets maximum value of axis range.
 double getMinimum()
          Gets or sets minimum value of axis range.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAuto(boolean value)
           
 void setMaximum(double value)
           
 void setMinimum(double value)
           
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 

Constructor Detail

StiAxisRange

public StiAxisRange()

StiAxisRange

public StiAxisRange(boolean auto,
                    double minimum,
                    double maximum)
Method Detail

clone

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

Specified by:
clone in interface IStiAxisRange
Overrides:
clone in class java.lang.Object
Returns:
A new object that is a copy of this instance.

getMinimum

public final double getMinimum()
Gets or sets minimum value of axis range.

Specified by:
getMinimum in interface IStiAxisRange

setMinimum

public final void setMinimum(double value)
Specified by:
setMinimum in interface IStiAxisRange

getMaximum

public final double getMaximum()
Gets or sets maximum value of axis range.

Specified by:
getMaximum in interface IStiAxisRange

setMaximum

public final void setMaximum(double value)
Specified by:
setMaximum in interface IStiAxisRange

getAuto

public final boolean getAuto()
Gets or sets value which indicates that minimum and maximum values will be calculated automatically.

Specified by:
getAuto in interface IStiAxisRange

setAuto

public final void setAuto(boolean value)
Specified by:
setAuto in interface IStiAxisRange

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Throws:
JSONException