com.stimulsoft.report.chart.view.gridLines.axis
Class StiGridLines

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.chart.view.gridLines.axis.StiGridLines
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, IStiGridLines, java.lang.Cloneable
Direct Known Subclasses:
StiGridLinesHor, StiGridLinesVert

public abstract class StiGridLines
extends StiSerializedObject
implements IStiGridLines, java.lang.Cloneable


Field Summary
 boolean needSetAreaJsonPropertyInternal
           
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiGridLines()
           
StiGridLines(StiColor color, StiPenStyle style, boolean visible, StiColor minorColor, StiPenStyle minorStyle, boolean minorVisible, int minorCount, boolean allowApplyStyle)
           
 
Method Summary
 java.lang.Object 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.
 IStiArea getArea()
           
 StiColor getColor()
          Gets or sets color which will be used for drawing major grid lines.
 StiGridLinesCoreXF getCore()
           
 StiColor getMinorColor()
          Gets or sets color which will be used for drawing minor grid lines.
 int getMinorCount()
          Gets or sets count of minor grid lines per each major grid line.
 StiPenStyle getMinorStyle()
          Gets or sets style which will be used for drawing minor grid lines.
 boolean getMinorVisible()
          Gets or sets visibility of minor grid lines.
 StiPenStyle getStyle()
          Gets or sets style which will be used for drawing major grid lines.
 boolean getVisible()
          Gets or sets visibility of major grid lines.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAllowApplyStyle(boolean value)
           
 void setArea(IStiArea value)
           
 void setColor(StiColor value)
           
 void setCore(StiGridLinesCoreXF value)
           
 void setMinorColor(StiColor value)
           
 void setMinorCount(int value)
           
 void setMinorStyle(StiPenStyle value)
           
 void setMinorVisible(boolean value)
           
 void setStyle(StiPenStyle value)
           
 void setVisible(boolean 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
 

Field Detail

needSetAreaJsonPropertyInternal

public boolean needSetAreaJsonPropertyInternal
Constructor Detail

StiGridLines

public StiGridLines()

StiGridLines

public StiGridLines(StiColor color,
                    StiPenStyle style,
                    boolean visible,
                    StiColor minorColor,
                    StiPenStyle minorStyle,
                    boolean minorVisible,
                    int minorCount,
                    boolean allowApplyStyle)
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.

getCore

public final StiGridLinesCoreXF getCore()
Specified by:
getCore in interface IStiGridLines

setCore

public final void setCore(StiGridLinesCoreXF value)
Specified by:
setCore in interface IStiGridLines

getAllowApplyStyle

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

Specified by:
getAllowApplyStyle in interface IStiGridLines

setAllowApplyStyle

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

getColor

public final StiColor getColor()
Gets or sets color which will be used for drawing major grid lines.

Specified by:
getColor in interface IStiGridLines

setColor

public final void setColor(StiColor value)
Specified by:
setColor in interface IStiGridLines

getMinorColor

public final StiColor getMinorColor()
Gets or sets color which will be used for drawing minor grid lines.

Specified by:
getMinorColor in interface IStiGridLines

setMinorColor

public final void setMinorColor(StiColor value)
Specified by:
setMinorColor in interface IStiGridLines

getStyle

public final StiPenStyle getStyle()
Gets or sets style which will be used for drawing major grid lines.

Specified by:
getStyle in interface IStiGridLines

setStyle

public final void setStyle(StiPenStyle value)
Specified by:
setStyle in interface IStiGridLines

getMinorStyle

public final StiPenStyle getMinorStyle()
Gets or sets style which will be used for drawing minor grid lines.

Specified by:
getMinorStyle in interface IStiGridLines

setMinorStyle

public final void setMinorStyle(StiPenStyle value)
Specified by:
setMinorStyle in interface IStiGridLines

getVisible

public final boolean getVisible()
Gets or sets visibility of major grid lines.

Specified by:
getVisible in interface IStiGridLines

setVisible

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

getMinorVisible

public final boolean getMinorVisible()
Gets or sets visibility of minor grid lines.

Specified by:
getMinorVisible in interface IStiGridLines

setMinorVisible

public final void setMinorVisible(boolean value)
Specified by:
setMinorVisible in interface IStiGridLines

getMinorCount

public final int getMinorCount()
Gets or sets count of minor grid lines per each major grid line.

Specified by:
getMinorCount in interface IStiGridLines

setMinorCount

public final void setMinorCount(int value)
Specified by:
setMinorCount in interface IStiGridLines

getArea

public final IStiArea getArea()
Specified by:
getArea in interface IStiGridLines

setArea

public final void setArea(IStiArea value)
Specified by:
setArea in interface IStiGridLines

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Throws:
JSONException