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

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

public class StiAxisDateTimeStep
extends StiSerializedObject
implements IStiAxisDateTimeStep, java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiAxisDateTimeStep()
           
StiAxisDateTimeStep(StiTimeDateStep step, int numberOfValues)
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 int getNumberOfValues()
          Gets or sets number of values in step.
 StiTimeDateStep getStep()
          Gets or sets a value that indicates with what the time step values will be shown.
 boolean isInterpolation()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setInterpolation(boolean interpolation)
           
 void setNumberOfValues(int value)
           
 void setStep(StiTimeDateStep 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

StiAxisDateTimeStep

public StiAxisDateTimeStep()

StiAxisDateTimeStep

public StiAxisDateTimeStep(StiTimeDateStep step,
                           int numberOfValues)
Method Detail

clone

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

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

getStep

public final StiTimeDateStep getStep()
Gets or sets a value that indicates with what the time step values will be shown.

Specified by:
getStep in interface IStiAxisDateTimeStep

setStep

public final void setStep(StiTimeDateStep value)
Specified by:
setStep in interface IStiAxisDateTimeStep

getNumberOfValues

public final int getNumberOfValues()
Gets or sets number of values in step.

Specified by:
getNumberOfValues in interface IStiAxisDateTimeStep

setNumberOfValues

public final void setNumberOfValues(int value)
Specified by:
setNumberOfValues in interface IStiAxisDateTimeStep

isInterpolation

public boolean isInterpolation()
Returns:
the interpolation

setInterpolation

public void setInterpolation(boolean interpolation)
Parameters:
interpolation - the interpolation to set

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