com.stimulsoft.report.chart.view.table
Class StiChartTable

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.chart.view.table.StiChartTable
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiChartTable, java.lang.Cloneable

public class StiChartTable
extends StiSerializedObject
implements IStiChartTable, java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiChartTable()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 IStiChart getChart()
           
 StiChartTableCore getCore()
           
 StiFont getFont()
           
 StiColor getGridLineColor()
           
 StiColor getTextColor()
           
 boolean isAllowApplyStyle()
           
 boolean isGridLinesHor()
           
 boolean isGridLinesVert()
           
 boolean isGridOutline()
           
 boolean isMarkerVisible()
           
 boolean isVisible()
          Gets visibility of table.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAllowApplyStyle(boolean allowApplyStyle)
           
 void setChart(IStiChart chart)
           
 void setCore(StiChartTableCore core)
           
 void setFont(StiFont font)
           
 void setGridLineColor(StiColor gridLineColor)
           
 void setGridLinesHor(boolean gridLinesHor)
           
 void setGridLinesVert(boolean gridLinesVert)
           
 void setGridOutline(boolean gridOutline)
           
 void setMarkerVisible(boolean markerVisible)
           
 void setTextColor(StiColor textColor)
           
 void setVisible(boolean visible)
           
 
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

StiChartTable

public StiChartTable()
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 IStiChartTable
Overrides:
clone in class java.lang.Object
Returns:
A new object that is a copy of this instance.

getFont

public StiFont getFont()
Specified by:
getFont in interface IStiChartTable
Returns:
the font

setFont

public void setFont(StiFont font)
Specified by:
setFont in interface IStiChartTable
Parameters:
font - the font to set

isVisible

public boolean isVisible()
Gets visibility of table.

Specified by:
isVisible in interface IStiChartTable
Returns:
the visible

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface IStiChartTable
Parameters:
visible - the visible to set

isAllowApplyStyle

public boolean isAllowApplyStyle()
Specified by:
isAllowApplyStyle in interface IStiChartTable
Returns:
the allowApplyStyle

setAllowApplyStyle

public void setAllowApplyStyle(boolean allowApplyStyle)
Specified by:
setAllowApplyStyle in interface IStiChartTable
Parameters:
allowApplyStyle - the allowApplyStyle to set

isMarkerVisible

public boolean isMarkerVisible()
Specified by:
isMarkerVisible in interface IStiChartTable
Returns:
the markerVisible

setMarkerVisible

public void setMarkerVisible(boolean markerVisible)
Specified by:
setMarkerVisible in interface IStiChartTable
Parameters:
markerVisible - the markerVisible to set

getGridLineColor

public StiColor getGridLineColor()
Specified by:
getGridLineColor in interface IStiChartTable
Returns:
the gridLineColor

setGridLineColor

public void setGridLineColor(StiColor gridLineColor)
Specified by:
setGridLineColor in interface IStiChartTable
Parameters:
gridLineColor - the gridLineColor to set

getTextColor

public StiColor getTextColor()
Specified by:
getTextColor in interface IStiChartTable
Returns:
the textColor

setTextColor

public void setTextColor(StiColor textColor)
Specified by:
setTextColor in interface IStiChartTable
Parameters:
textColor - the textColor to set

isGridLinesHor

public boolean isGridLinesHor()
Specified by:
isGridLinesHor in interface IStiChartTable
Returns:
the gridLinesHor

setGridLinesHor

public void setGridLinesHor(boolean gridLinesHor)
Specified by:
setGridLinesHor in interface IStiChartTable
Parameters:
gridLinesHor - the gridLinesHor to set

isGridLinesVert

public boolean isGridLinesVert()
Specified by:
isGridLinesVert in interface IStiChartTable
Returns:
the gridLinesVert

setGridLinesVert

public void setGridLinesVert(boolean gridLinesVert)
Specified by:
setGridLinesVert in interface IStiChartTable
Parameters:
gridLinesVert - the gridLinesVert to set

isGridOutline

public boolean isGridOutline()
Specified by:
isGridOutline in interface IStiChartTable
Returns:
the gridOutline

setGridOutline

public void setGridOutline(boolean gridOutline)
Specified by:
setGridOutline in interface IStiChartTable
Parameters:
gridOutline - the gridOutline to set

getCore

public StiChartTableCore getCore()
Specified by:
getCore in interface IStiChartTable
Returns:
the core

setCore

public void setCore(StiChartTableCore core)
Specified by:
setCore in interface IStiChartTable
Parameters:
core - the core to set

getChart

public IStiChart getChart()
Specified by:
getChart in interface IStiChartTable
Returns:
the chart

setChart

public void setChart(IStiChart chart)
Specified by:
setChart in interface IStiChartTable
Parameters:
chart - the chart to set

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