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

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.chart.view.axis.StiAxis
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, IStiAxis, java.lang.Cloneable
Direct Known Subclasses:
StiXAxis, StiYAxis

public abstract class StiAxis
extends StiSerializedObject
implements IStiAxis


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiAxis()
           
StiAxis(IStiAxisLabels labels, IStiAxisRange range, IStiAxisTitle title, IStiAxisTicks ticks, IStiAxisInteraction interaction, StiArrowStyle arrowStyle, StiPenStyle lineStyle, StiColor lineColor, float lineWidth, boolean visible, boolean startFromZero, boolean allowApplyStyle)
           
StiAxis(IStiAxisLabels labels, IStiAxisRange range, IStiAxisTitle title, IStiAxisTicks ticks, IStiAxisInteraction interaction, StiArrowStyle arrowStyle, StiPenStyle lineStyle, StiColor lineColor, float lineWidth, boolean visible, boolean startFromZero, boolean allowApplyStyle, boolean logarithmicScale)
           
StiAxis(IStiAxisLabels labels, IStiAxisRange range, IStiAxisTitle title, IStiAxisTicks ticks, StiArrowStyle arrowStyle, StiPenStyle lineStyle, StiColor lineColor, float lineWidth, boolean visible, boolean startFromZero, 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.
 IStiAxisArea getArea()
           
 StiArrowStyle getArrowStyle()
          Gets or sets style of axis arrow.
 StiAxisCoreXF getCore()
           
 StiAxisInfoXF getInfo()
           
 IStiAxisInteraction getInteraction()
          Gets or sets axis interaction settings.
 IStiAxisLabels getLabels()
          Gets or sets axis labels settings.
 StiColor getLineColor()
          Gets or sets line color which used to draw axis.
 StiPenStyle getLineStyle()
          Gets or sets line style of axis.
 float getLineWidth()
          Gets or sets line width which used to draw axis.
 boolean getLogarithmicScale()
          Gets or sets value which indicates that logarithmic scale will be used.
 IStiAxisRange getRange()
          Gets or sets axis range settings.
 boolean getStartFromZero()
          Gets or sets value which indicates that all arguments will be shows from zero.
 float getStep()
          Deprecated. 
 IStiAxisTicks getTicks()
          Gets or sets ticks settings.
 IStiAxisTitle getTitle()
          Gets or sets axis title settings.
 StiLegendDirection getTitleDirection()
          Deprecated. 
 boolean getVisible()
          Gets or sets visibility of axis.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAllowApplyStyle(boolean value)
           
 void setArea(IStiAxisArea value)
           
 void setArrowStyle(StiArrowStyle value)
           
 void setCore(StiAxisCoreXF value)
           
 void setInfo(StiAxisInfoXF value)
           
 void setInteraction(IStiAxisInteraction value)
           
 void setLabels(IStiAxisLabels value)
           
 void setLineColor(StiColor value)
           
 void setLineStyle(StiPenStyle value)
           
 void setLineWidth(float value)
           
 void setLogarithmicScale(boolean value)
           
 void setRange(IStiAxisRange value)
           
 void setStartFromZero(boolean value)
           
 void setStep(float value)
          Deprecated. 
 void setTicks(IStiAxisTicks value)
           
 void setTitle(IStiAxisTitle value)
           
 void setTitleDirection(StiLegendDirection value)
          Deprecated. 
 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
 

Constructor Detail

StiAxis

public StiAxis()

StiAxis

public StiAxis(IStiAxisLabels labels,
               IStiAxisRange range,
               IStiAxisTitle title,
               IStiAxisTicks ticks,
               StiArrowStyle arrowStyle,
               StiPenStyle lineStyle,
               StiColor lineColor,
               float lineWidth,
               boolean visible,
               boolean startFromZero,
               boolean allowApplyStyle)

StiAxis

public StiAxis(IStiAxisLabels labels,
               IStiAxisRange range,
               IStiAxisTitle title,
               IStiAxisTicks ticks,
               IStiAxisInteraction interaction,
               StiArrowStyle arrowStyle,
               StiPenStyle lineStyle,
               StiColor lineColor,
               float lineWidth,
               boolean visible,
               boolean startFromZero,
               boolean allowApplyStyle)

StiAxis

public StiAxis(IStiAxisLabels labels,
               IStiAxisRange range,
               IStiAxisTitle title,
               IStiAxisTicks ticks,
               IStiAxisInteraction interaction,
               StiArrowStyle arrowStyle,
               StiPenStyle lineStyle,
               StiColor lineColor,
               float lineWidth,
               boolean visible,
               boolean startFromZero,
               boolean allowApplyStyle,
               boolean logarithmicScale)
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.

getLogarithmicScale

public boolean getLogarithmicScale()
Gets or sets value which indicates that logarithmic scale will be used.

Specified by:
getLogarithmicScale in interface IStiAxis

setLogarithmicScale

public void setLogarithmicScale(boolean value)
Specified by:
setLogarithmicScale in interface IStiAxis

getCore

public final StiAxisCoreXF getCore()
Specified by:
getCore in interface IStiAxis

setCore

public final void setCore(StiAxisCoreXF value)
Specified by:
setCore in interface IStiAxis

getAllowApplyStyle

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

Specified by:
getAllowApplyStyle in interface IStiAxis

setAllowApplyStyle

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

getStartFromZero

public boolean getStartFromZero()
Gets or sets value which indicates that all arguments will be shows from zero.

Specified by:
getStartFromZero in interface IStiAxis

setStartFromZero

public void setStartFromZero(boolean value)
Specified by:
setStartFromZero in interface IStiAxis

getStep

@Deprecated
public float getStep()
Deprecated. 

Gets or sets value which indicates with what steps do labels be shown on axis.

Specified by:
getStep in interface IStiAxis

setStep

@Deprecated
public void setStep(float value)
Deprecated. 

Specified by:
setStep in interface IStiAxis

getInteraction

public final IStiAxisInteraction getInteraction()
Gets or sets axis interaction settings.

Specified by:
getInteraction in interface IStiAxis

setInteraction

public final void setInteraction(IStiAxisInteraction value)
Specified by:
setInteraction in interface IStiAxis

getLabels

public final IStiAxisLabels getLabels()
Gets or sets axis labels settings.

Specified by:
getLabels in interface IStiAxis

setLabels

public final void setLabels(IStiAxisLabels value)
Specified by:
setLabels in interface IStiAxis

getRange

public IStiAxisRange getRange()
Gets or sets axis range settings.

Specified by:
getRange in interface IStiAxis

setRange

public void setRange(IStiAxisRange value)
Specified by:
setRange in interface IStiAxis

getTitle

public final IStiAxisTitle getTitle()
Gets or sets axis title settings.

Specified by:
getTitle in interface IStiAxis

setTitle

public final void setTitle(IStiAxisTitle value)
Specified by:
setTitle in interface IStiAxis

getTicks

public final IStiAxisTicks getTicks()
Gets or sets ticks settings.

Specified by:
getTicks in interface IStiAxis

setTicks

public final void setTicks(IStiAxisTicks value)
Specified by:
setTicks in interface IStiAxis

getArrowStyle

public final StiArrowStyle getArrowStyle()
Gets or sets style of axis arrow.

Specified by:
getArrowStyle in interface IStiAxis

setArrowStyle

public final void setArrowStyle(StiArrowStyle value)
Specified by:
setArrowStyle in interface IStiAxis

getLineStyle

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

Specified by:
getLineStyle in interface IStiAxis

setLineStyle

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

getLineColor

public final StiColor getLineColor()
Gets or sets line color which used to draw axis.

Specified by:
getLineColor in interface IStiAxis

setLineColor

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

getLineWidth

public final float getLineWidth()
Gets or sets line width which used to draw axis.

Specified by:
getLineWidth in interface IStiAxis

setLineWidth

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

getVisible

public boolean getVisible()
Gets or sets visibility of axis.

Specified by:
getVisible in interface IStiAxis

setVisible

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

getTitleDirection

@Deprecated
public StiLegendDirection getTitleDirection()
Deprecated. 

'TitleDirection' property is obsolete. Please Title.Direction property instead it.


setTitleDirection

@Deprecated
public void setTitleDirection(StiLegendDirection value)
Deprecated. 


getArea

public final IStiAxisArea getArea()
Specified by:
getArea in interface IStiAxis

setArea

public final void setArea(IStiAxisArea value)
Specified by:
setArea in interface IStiAxis

getInfo

public final StiAxisInfoXF getInfo()
Specified by:
getInfo in interface IStiAxis

setInfo

public final void setInfo(StiAxisInfoXF value)
Specified by:
setInfo in interface IStiAxis

SaveToJsonObject

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

LoadFromJsonObject

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