com.stimulsoft.report.chart.view.constantLines
Class StiConstantLines

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.services.StiService
          extended by com.stimulsoft.report.chart.view.constantLines.StiConstantLines
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiConstantLines, java.lang.Cloneable

public class StiConstantLines
extends StiService
implements IStiConstantLines, java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiConstantLines()
           
 
Method Summary
 IStiConstantLines clone()
          Creates a new object that is a copy of the current instance.
 boolean getAllowApplyStyle()
          Gets or sets value which indicates that chart style will be used.
 boolean getAntialiasing()
          Gets or sets value which control antialiasing drawing mode.
 java.lang.String getAxisValue()
          Gets or sets Y axis value through what the constant line is drawn.
 IStiChart getChart()
           
 StiConstantLinesCoreXF getCore()
           
 StiFont getFont()
          Gets or sets font which used for drawing constant line text.
 StiColor getLineColor()
          Gets or sets color which will be used for drawing constant line.
 StiPenStyle getLineStyle()
          Gets or sets constant line style.
 float getLineWidth()
          Gets or sets constant line width.
 StiOrientation getOrientation()
          Gets or sets horizontal or vertical orientation of constant line.
 StiTextPosition getPosition()
          Gets or sets text position at contant line.
 java.lang.String getServiceCategory()
          Gets a service category.
 java.lang.Class getServiceType()
          Gets a service type.
 boolean getShowBehind()
          Gets or sets value which indicates that constant lines will be shown behind chart series or in front of chart series.
 boolean getShowInLegend()
          Gets or sets constant lines in chart legend.
 java.lang.String getText()
          Gets or sets constant line text.
 boolean getTitleVisible()
          Gets or sets visibility of constant lines title.
 boolean getVisible()
          Gets or sets visibility of constant line.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAllowApplyStyle(boolean value)
           
 void setAntialiasing(boolean value)
           
 void setAxisValue(java.lang.String value)
           
 void setChart(IStiChart value)
           
 void setCore(StiConstantLinesCoreXF value)
           
 void setFont(StiFont value)
           
 void setLineColor(StiColor value)
           
 void setLineStyle(StiPenStyle value)
           
 void setLineWidth(float value)
           
 void setOrientation(StiOrientation value)
           
 void setPosition(StiTextPosition value)
           
 void setShowBehind(boolean value)
           
 void setShowInLegend(boolean value)
           
 void setText(java.lang.String value)
           
 void setTitleVisible(boolean value)
           
 void setVisible(boolean value)
           
 java.lang.String toString()
           
 
Methods inherited from class com.stimulsoft.base.services.StiService
getProperties, getServiceEnabled, getServiceInfo, getServiceName, 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
 

Constructor Detail

StiConstantLines

public StiConstantLines()
Method Detail

clone

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

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

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 StiConstantLinesCoreXF getCore()
Specified by:
getCore in interface IStiConstantLines

setCore

public final void setCore(StiConstantLinesCoreXF value)
Specified by:
setCore in interface IStiConstantLines

getAllowApplyStyle

public final boolean getAllowApplyStyle()
Gets or sets value which indicates that chart style will be used.

Specified by:
getAllowApplyStyle in interface IStiConstantLines

setAllowApplyStyle

public final void setAllowApplyStyle(boolean value)
Specified by:
setAllowApplyStyle in interface IStiConstantLines

getAntialiasing

public final boolean getAntialiasing()
Gets or sets value which control antialiasing drawing mode.

Specified by:
getAntialiasing in interface IStiConstantLines

setAntialiasing

public final void setAntialiasing(boolean value)
Specified by:
setAntialiasing in interface IStiConstantLines

getPosition

public final StiTextPosition getPosition()
Gets or sets text position at contant line.

Specified by:
getPosition in interface IStiConstantLines

setPosition

public final void setPosition(StiTextPosition value)
Specified by:
setPosition in interface IStiConstantLines

getFont

public StiFont getFont()
Gets or sets font which used for drawing constant line text.

Specified by:
getFont in interface IStiConstantLines

setFont

public void setFont(StiFont value)
Specified by:
setFont in interface IStiConstantLines

getText

public final java.lang.String getText()
Gets or sets constant line text.

Specified by:
getText in interface IStiConstantLines

setText

public final void setText(java.lang.String value)
Specified by:
setText in interface IStiConstantLines

getTitleVisible

public final boolean getTitleVisible()
Gets or sets visibility of constant lines title.

Specified by:
getTitleVisible in interface IStiConstantLines

setTitleVisible

public final void setTitleVisible(boolean value)
Specified by:
setTitleVisible in interface IStiConstantLines

getOrientation

public final StiOrientation getOrientation()
Gets or sets horizontal or vertical orientation of constant line.

Specified by:
getOrientation in interface IStiConstantLines

setOrientation

public final void setOrientation(StiOrientation value)
Specified by:
setOrientation in interface IStiConstantLines

getLineWidth

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

Specified by:
getLineWidth in interface IStiConstantLines

setLineWidth

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

getLineStyle

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

Specified by:
getLineStyle in interface IStiConstantLines

setLineStyle

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

getLineColor

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

Specified by:
getLineColor in interface IStiConstantLines

setLineColor

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

getShowInLegend

public boolean getShowInLegend()
Gets or sets constant lines in chart legend.

Specified by:
getShowInLegend in interface IStiConstantLines

setShowInLegend

public void setShowInLegend(boolean value)
Specified by:
setShowInLegend in interface IStiConstantLines

getShowBehind

public boolean getShowBehind()
Gets or sets value which indicates that constant lines will be shown behind chart series or in front of chart series.

Specified by:
getShowBehind in interface IStiConstantLines

setShowBehind

public void setShowBehind(boolean value)
Specified by:
setShowBehind in interface IStiConstantLines

getAxisValue

public java.lang.String getAxisValue()
Gets or sets Y axis value through what the constant line is drawn.

Specified by:
getAxisValue in interface IStiConstantLines

setAxisValue

public void setAxisValue(java.lang.String value)
Specified by:
setAxisValue in interface IStiConstantLines

getVisible

public boolean getVisible()
Gets or sets visibility of constant line.

Specified by:
getVisible in interface IStiConstantLines

setVisible

public void setVisible(boolean value)
Specified by:
setVisible in interface IStiConstantLines

getChart

public final IStiChart getChart()
Specified by:
getChart in interface IStiConstantLines

setChart

public final void setChart(IStiChart value)
Specified by:
setChart in interface IStiConstantLines

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