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

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

public class StiAxisLabels
extends StiSerializedObject
implements IStiAxisLabels, java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiAxisLabels()
           
StiAxisLabels(java.lang.String format, java.lang.String textBefore, java.lang.String textAfter, float angle, StiFont font, boolean antialiasing, StiLabelsPlacement placement, StiColor color, float width, StiMarkerAlignment textAlignment, float step, boolean allowApplyStyle)
           
StiAxisLabels(java.lang.String format, java.lang.String textBefore, java.lang.String textAfter, float angle, StiFont font, boolean antialiasing, StiLabelsPlacement placement, StiColor color, float width, StiMarkerAlignment textAlignment, float step, boolean allowApplyStyle, boolean wordWrap)
           
 
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.
 float getAngle()
          Gets or sets angle of label rotation.
 boolean getAntialiasing()
          Gets or sets value which control antialiasing drawing mode.
 StiColor getColor()
          Gets or sets color of labels drawing.
 StiAxisLabelsCoreXF getCore()
           
 StiFont getFont()
          Gets or sets font which will be used for axis label drawing.
 java.lang.String getFormat()
          Gets os sets format string which is used for formating argument values.
 StiLabelsPlacement getPlacement()
          Gets or set mode of labels placement on axis.
 float getStep()
          Gets or sets value which indicates with what steps do labels be shown on axis.
 java.lang.String getTextAfter()
          Gets or sets string which will be output after argument string representation.
 StiMarkerAlignment getTextAlignment()
          Gets or sets label text alignment.
 java.lang.String getTextBefore()
          Gets or sets string which will be output before argument string representation.
 float getWidth()
          Gets or sets fixed width of axis labels.
 boolean getWordWrap()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAllowApplyStyle(boolean value)
           
 void setAngle(float value)
           
 void setAntialiasing(boolean value)
           
 void setColor(StiColor value)
           
 void setCore(StiAxisLabelsCoreXF value)
           
 void setFont(StiFont value)
           
 void setFormat(java.lang.String value)
           
 void setPlacement(StiLabelsPlacement value)
           
 void setStep(float value)
           
 void setTextAfter(java.lang.String value)
           
 void setTextAlignment(StiMarkerAlignment value)
           
 void setTextBefore(java.lang.String value)
           
 void setWidth(float value)
           
 void setWordWrap(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

StiAxisLabels

public StiAxisLabels()

StiAxisLabels

public StiAxisLabels(java.lang.String format,
                     java.lang.String textBefore,
                     java.lang.String textAfter,
                     float angle,
                     StiFont font,
                     boolean antialiasing,
                     StiLabelsPlacement placement,
                     StiColor color,
                     float width,
                     StiMarkerAlignment textAlignment,
                     float step,
                     boolean allowApplyStyle)

StiAxisLabels

public StiAxisLabels(java.lang.String format,
                     java.lang.String textBefore,
                     java.lang.String textAfter,
                     float angle,
                     StiFont font,
                     boolean antialiasing,
                     StiLabelsPlacement placement,
                     StiColor color,
                     float width,
                     StiMarkerAlignment textAlignment,
                     float step,
                     boolean allowApplyStyle,
                     boolean wordWrap)
Method Detail

clone

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

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

getCore

public final StiAxisLabelsCoreXF getCore()
Specified by:
getCore in interface IStiAxisLabels

setCore

public final void setCore(StiAxisLabelsCoreXF value)
Specified by:
setCore in interface IStiAxisLabels

getAllowApplyStyle

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

Specified by:
getAllowApplyStyle in interface IStiAxisLabels

setAllowApplyStyle

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

getFormat

public final java.lang.String getFormat()
Gets os sets format string which is used for formating argument values.

Specified by:
getFormat in interface IStiAxisLabels

setFormat

public final void setFormat(java.lang.String value)
Specified by:
setFormat in interface IStiAxisLabels

getAngle

public final float getAngle()
Gets or sets angle of label rotation.

Specified by:
getAngle in interface IStiAxisLabels

setAngle

public final void setAngle(float value)
Specified by:
setAngle in interface IStiAxisLabels

getWidth

public final float getWidth()
Gets or sets fixed width of axis labels.

Specified by:
getWidth in interface IStiAxisLabels

setWidth

public final void setWidth(float value)
Specified by:
setWidth in interface IStiAxisLabels

getTextBefore

public final java.lang.String getTextBefore()
Gets or sets string which will be output before argument string representation.

Specified by:
getTextBefore in interface IStiAxisLabels

setTextBefore

public final void setTextBefore(java.lang.String value)
Specified by:
setTextBefore in interface IStiAxisLabels

getTextAfter

public final java.lang.String getTextAfter()
Gets or sets string which will be output after argument string representation.

Specified by:
getTextAfter in interface IStiAxisLabels

setTextAfter

public final void setTextAfter(java.lang.String value)
Specified by:
setTextAfter in interface IStiAxisLabels

getFont

public final StiFont getFont()
Gets or sets font which will be used for axis label drawing.

Specified by:
getFont in interface IStiAxisLabels

setFont

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

getAntialiasing

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

Specified by:
getAntialiasing in interface IStiAxisLabels

setAntialiasing

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

getPlacement

public final StiLabelsPlacement getPlacement()
Gets or set mode of labels placement on axis.

Specified by:
getPlacement in interface IStiAxisLabels

setPlacement

public final void setPlacement(StiLabelsPlacement value)
Specified by:
setPlacement in interface IStiAxisLabels

getColor

public final StiColor getColor()
Gets or sets color of labels drawing.

Specified by:
getColor in interface IStiAxisLabels

setColor

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

getTextAlignment

public StiMarkerAlignment getTextAlignment()
Gets or sets label text alignment.

Specified by:
getTextAlignment in interface IStiAxisLabels

setTextAlignment

public void setTextAlignment(StiMarkerAlignment value)
Specified by:
setTextAlignment in interface IStiAxisLabels

getStep

public float getStep()
Gets or sets value which indicates with what steps do labels be shown on axis.

Specified by:
getStep in interface IStiAxisLabels

setStep

public void setStep(float value)
Specified by:
setStep in interface IStiAxisLabels

getWordWrap

public final boolean getWordWrap()
Specified by:
getWordWrap in interface IStiAxisLabels

setWordWrap

public final void setWordWrap(boolean value)
Specified by:
setWordWrap in interface IStiAxisLabels

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