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

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

public class StiAxisTitle
extends StiSerializedObject
implements IStiAxisTitle, java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiAxisTitle()
           
StiAxisTitle(StiFont font, java.lang.String text, StiColor color, boolean antialiasing, StiStringAlignment alignment, StiDirection direction, boolean allowApplyStyle)
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 StiStringAlignment getAlignment()
          Gets or sets title text alignment.
 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.
 StiColor getColor()
          Gets or sets color which will be used for title drawing.
 StiAxisTitleCoreXF getCore()
           
 StiDirection getDirection()
          Gets or set text direction for axis title drawing.
 StiFont getFont()
          Gets or set font which will be used for axis title drawing.
 java.lang.String getText()
          Gets or sets title text.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAlignment(StiStringAlignment value)
           
 void setAllowApplyStyle(boolean value)
           
 void setAntialiasing(boolean value)
           
 void setColor(StiColor value)
           
 void setCore(StiAxisTitleCoreXF value)
           
 void setDirection(StiDirection value)
           
 void setFont(StiFont value)
           
 void setText(java.lang.String 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

StiAxisTitle

public StiAxisTitle()

StiAxisTitle

public StiAxisTitle(StiFont font,
                    java.lang.String text,
                    StiColor color,
                    boolean antialiasing,
                    StiStringAlignment alignment,
                    StiDirection direction,
                    boolean allowApplyStyle)
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 IStiAxisTitle
Overrides:
clone in class java.lang.Object
Returns:
A new object that is a copy of this instance.

getCore

public final StiAxisTitleCoreXF getCore()
Specified by:
getCore in interface IStiAxisTitle

setCore

public final void setCore(StiAxisTitleCoreXF value)
Specified by:
setCore in interface IStiAxisTitle

getAllowApplyStyle

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

Specified by:
getAllowApplyStyle in interface IStiAxisTitle

setAllowApplyStyle

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

getFont

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

Specified by:
getFont in interface IStiAxisTitle

setFont

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

getText

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

Specified by:
getText in interface IStiAxisTitle

setText

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

getColor

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

Specified by:
getColor in interface IStiAxisTitle

setColor

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

getAntialiasing

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

Specified by:
getAntialiasing in interface IStiAxisTitle

setAntialiasing

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

getAlignment

public final StiStringAlignment getAlignment()
Gets or sets title text alignment.

Specified by:
getAlignment in interface IStiAxisTitle

setAlignment

public final void setAlignment(StiStringAlignment value)
Specified by:
setAlignment in interface IStiAxisTitle

getDirection

public StiDirection getDirection()
Gets or set text direction for axis title drawing.

Specified by:
getDirection in interface IStiAxisTitle

setDirection

public void setDirection(StiDirection value)
Specified by:
setDirection in interface IStiAxisTitle

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