com.stimulsoft.report.chart.view.chartTitle
Class StiChartTitle

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.chart.view.chartTitle.StiChartTitle
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiChartTitle, java.lang.Cloneable

public class StiChartTitle
extends StiSerializedObject
implements IStiChartTitle, java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiChartTitle()
           
StiChartTitle(StiFont font, java.lang.String text, StiBrush brush, boolean antialiasing, StiStringAlignment alignment, StiChartTitleDock dock, int spacing, boolean visible, boolean allowApplyStyle)
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 StiStringAlignment getAlignment()
          Gets os sets alignment of chart title.
 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 of chart title.
 StiBrush getBrush()
          Gets or sets text brush of the chart title.
 IStiChart getChart()
           
 StiChartTitleCoreXF getCore()
           
 StiChartTitleDock getDock()
          Gets or sets docking ot chart title.
 StiFont getFont()
          Gets or sets font of the chart title.
 int getSpacing()
          Gets or sets spacing between chart title and chart area.
 java.lang.String getText()
          Gets or sets text of the chart title.
 boolean getVisible()
          Gets or sets visibility of chart title.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAlignment(StiStringAlignment value)
           
 void setAllowApplyStyle(boolean value)
           
 void setAntialiasing(boolean value)
           
 void setBrush(StiBrush value)
           
 void setChart(IStiChart value)
           
 void setCore(StiChartTitleCoreXF value)
           
 void setDock(StiChartTitleDock value)
           
 void setFont(StiFont value)
           
 void setSpacing(int value)
           
 void setText(java.lang.String 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
 

Constructor Detail

StiChartTitle

public StiChartTitle()

StiChartTitle

public StiChartTitle(StiFont font,
                     java.lang.String text,
                     StiBrush brush,
                     boolean antialiasing,
                     StiStringAlignment alignment,
                     StiChartTitleDock dock,
                     int spacing,
                     boolean visible,
                     boolean allowApplyStyle)
Method Detail

getCore

public final StiChartTitleCoreXF getCore()
Specified by:
getCore in interface IStiChartTitle

setCore

public final void setCore(StiChartTitleCoreXF value)
Specified by:
setCore in interface IStiChartTitle

getAllowApplyStyle

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

Specified by:
getAllowApplyStyle in interface IStiChartTitle

setAllowApplyStyle

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

getFont

public final StiFont getFont()
Gets or sets font of the chart title.

Specified by:
getFont in interface IStiChartTitle

setFont

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

getText

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

Specified by:
getText in interface IStiChartTitle

setText

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

getBrush

public final StiBrush getBrush()
Gets or sets text brush of the chart title.

Specified by:
getBrush in interface IStiChartTitle

setBrush

public final void setBrush(StiBrush value)
Specified by:
setBrush in interface IStiChartTitle

getAntialiasing

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

Specified by:
getAntialiasing in interface IStiChartTitle

setAntialiasing

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

getAlignment

public final StiStringAlignment getAlignment()
Gets os sets alignment of chart title.

Specified by:
getAlignment in interface IStiChartTitle

setAlignment

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

getDock

public final StiChartTitleDock getDock()
Gets or sets docking ot chart title.

Specified by:
getDock in interface IStiChartTitle

setDock

public final void setDock(StiChartTitleDock value)
Specified by:
setDock in interface IStiChartTitle

getSpacing

public final int getSpacing()
Gets or sets spacing between chart title and chart area.

Specified by:
getSpacing in interface IStiChartTitle

setSpacing

public final void setSpacing(int value)
Specified by:
setSpacing in interface IStiChartTitle

getVisible

public final boolean getVisible()
Gets or sets visibility of chart title.

Specified by:
getVisible in interface IStiChartTitle

setVisible

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

getChart

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

setChart

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

clone

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

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

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