com.stimulsoft.report.chart.view.trendLines
Class StiTrendLine

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.services.StiService
          extended by com.stimulsoft.report.chart.view.trendLines.StiTrendLine
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiTrendLine, java.lang.Cloneable
Direct Known Subclasses:
StiTrendLineExponential, StiTrendLineLinear, StiTrendLineLogarithmic, StiTrendLineNone

public abstract class StiTrendLine
extends StiService
implements IStiTrendLine, java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiTrendLine()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 boolean getAllowApplyStyle()
           
 StiTrendLineCoreXF getCore()
           
 StiColor getLineColor()
          Gets or sets color which will be used for drawing trend line.
 StiPenStyle getLineStyle()
          Gets or sets trend line style.
 float getLineWidth()
          Gets or sets trend line width.
 java.lang.String getServiceCategory()
          Gets a service category.
 java.lang.String getServiceName()
          Gets a service name.
 java.lang.Class getServiceType()
          Gets a service type.
 boolean getShowShadow()
          Gets or sets value which indicates draw shadow or no.
 void LoadFromJsonObject(JSONObject jObject)
           
static IStiTrendLine LoadFromJsonObjectInternal(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAllowApplyStyle(boolean value)
          value which indicates that chart style will be used.
 void setCore(StiTrendLineCoreXF value)
           
 void setLineColor(StiColor value)
           
 void setLineStyle(StiPenStyle value)
           
 void setLineWidth(float value)
           
 void setShowShadow(boolean value)
           
 java.lang.String toString()
           
 
Methods inherited from class com.stimulsoft.base.services.StiService
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabled
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 

Constructor Detail

StiTrendLine

public StiTrendLine()
Method Detail

clone

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

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

getServiceName

public java.lang.String getServiceName()
Gets a service name.

Overrides:
getServiceName in class StiService

getServiceCategory

public final java.lang.String getServiceCategory()
Gets a service category.

Overrides:
getServiceCategory in class StiService

getServiceType

public final java.lang.Class getServiceType()
Gets a service type.

Specified by:
getServiceType in class StiService

getCore

public final StiTrendLineCoreXF getCore()
Specified by:
getCore in interface IStiTrendLine

setCore

public final void setCore(StiTrendLineCoreXF value)
Specified by:
setCore in interface IStiTrendLine

getLineColor

public StiColor getLineColor()
Gets or sets color which will be used for drawing trend line.

Specified by:
getLineColor in interface IStiTrendLine

setLineColor

public void setLineColor(StiColor value)
Specified by:
setLineColor in interface IStiTrendLine

getLineWidth

public final float getLineWidth()
Gets or sets trend line width.

Specified by:
getLineWidth in interface IStiTrendLine

setLineWidth

public final void setLineWidth(float value)
Specified by:
setLineWidth in interface IStiTrendLine

getLineStyle

public final StiPenStyle getLineStyle()
Gets or sets trend line style.

Specified by:
getLineStyle in interface IStiTrendLine

setLineStyle

public final void setLineStyle(StiPenStyle value)
Specified by:
setLineStyle in interface IStiTrendLine

getShowShadow

public final boolean getShowShadow()
Gets or sets value which indicates draw shadow or no.

Specified by:
getShowShadow in interface IStiTrendLine

setShowShadow

public final void setShowShadow(boolean value)
Specified by:
setShowShadow in interface IStiTrendLine

getAllowApplyStyle

public boolean getAllowApplyStyle()
Specified by:
getAllowApplyStyle in interface IStiTrendLine

setAllowApplyStyle

public void setAllowApplyStyle(boolean value)
value which indicates that chart style will be used.

Specified by:
setAllowApplyStyle in interface IStiTrendLine

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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

LoadFromJsonObjectInternal

public static IStiTrendLine LoadFromJsonObjectInternal(JSONObject jObject)
                                                throws JSONException
Throws:
JSONException