com.stimulsoft.report.chart.view.areas
Class StiArea

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.services.StiService
          extended by com.stimulsoft.report.chart.view.areas.StiArea
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiSerializeToCodeAsClass, IStiArea, java.lang.Cloneable
Direct Known Subclasses:
StiAxisArea, StiFunnelArea, StiPieArea, StiRadarArea

public abstract class StiArea
extends StiService
implements IStiArea, IStiSerializeToCodeAsClass

Describes base class for all chart areas.


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiArea()
           
 
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.
 StiColor getBorderColor()
          Gets or sets border color of this area.
 StiBrush getBrush()
          Gets or sets brush to fill a area.
 IStiChart getChart()
          Gets or sets reference to chart component which contain this area.
 boolean getColorEach()
          Gets or sets value which indicates that each series is drawn by its own colour.
 StiAreaCoreXF getCore()
           
abstract  java.lang.Class GetDefaultSeriesLabelsType()
           
abstract  java.lang.Class GetDefaultSeriesType()
           
 boolean getIsDefaultSeriesTypeFullStackedBarSeries()
           
 boolean getIsDefaultSeriesTypeFullStackedColumnSeries()
           
abstract  java.lang.Class[] GetSeriesLabelsTypes()
           
abstract  java.lang.Class[] GetSeriesTypes()
           
 java.lang.String getServiceCategory()
          Gets a service category.
 java.lang.String getServiceName()
          Gets a service name.
 java.lang.Class getServiceType()
          Gets a service type.
 boolean getShowShadow()
          Gets or sets value which indicates necessary draw shadod or no.
 void LoadFromJsonObject(JSONObject jObject)
           
static IStiArea LoadFromJsonObjectInternal(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAllowApplyStyle(boolean value)
           
 void setBorderColor(StiColor value)
           
 void setBrush(StiBrush value)
           
 void setChart(IStiChart value)
           
 void setColorEach(boolean value)
           
 void setCore(StiAreaCoreXF value)
           
 void setShowShadow(boolean value)
           
 java.lang.String toString()
           
 
Methods inherited from class com.stimulsoft.base.services.StiService
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabled
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 

Constructor Detail

StiArea

public StiArea()
Method Detail

clone

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

Specified by:
clone in interface IStiArea
Overrides:
clone in class StiService
Returns:
A new object that is a copy of this instance.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

GetDefaultSeriesType

public abstract java.lang.Class GetDefaultSeriesType()
Specified by:
GetDefaultSeriesType in interface IStiArea

GetSeriesTypes

public abstract java.lang.Class[] GetSeriesTypes()
Specified by:
GetSeriesTypes in interface IStiArea

GetDefaultSeriesLabelsType

public abstract java.lang.Class GetDefaultSeriesLabelsType()
Specified by:
GetDefaultSeriesLabelsType in interface IStiArea

GetSeriesLabelsTypes

public abstract java.lang.Class[] GetSeriesLabelsTypes()
Specified by:
GetSeriesLabelsTypes in interface IStiArea

getServiceName

public java.lang.String getServiceName()
Gets a service name.

Overrides:
getServiceName in class StiService

getServiceCategory

public final java.lang.String getServiceCategory()
Gets a service category.

Overrides:
getServiceCategory in class StiService

getServiceType

public final java.lang.Class getServiceType()
Gets a service type.

Specified by:
getServiceType in class StiService

getIsDefaultSeriesTypeFullStackedColumnSeries

public final boolean getIsDefaultSeriesTypeFullStackedColumnSeries()
Specified by:
getIsDefaultSeriesTypeFullStackedColumnSeries in interface IStiArea

getIsDefaultSeriesTypeFullStackedBarSeries

public final boolean getIsDefaultSeriesTypeFullStackedBarSeries()
Specified by:
getIsDefaultSeriesTypeFullStackedBarSeries in interface IStiArea

getCore

public final StiAreaCoreXF getCore()
Specified by:
getCore in interface IStiArea

setCore

public final void setCore(StiAreaCoreXF value)
Specified by:
setCore in interface IStiArea

getChart

public IStiChart getChart()
Gets or sets reference to chart component which contain this area.

Specified by:
getChart in interface IStiArea

setChart

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

getAllowApplyStyle

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

Specified by:
getAllowApplyStyle in interface IStiArea

setAllowApplyStyle

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

getColorEach

public boolean getColorEach()
Gets or sets value which indicates that each series is drawn by its own colour.

Specified by:
getColorEach in interface IStiArea

setColorEach

public void setColorEach(boolean value)
Specified by:
setColorEach in interface IStiArea

getShowShadow

public final boolean getShowShadow()
Gets or sets value which indicates necessary draw shadod or no.

Specified by:
getShowShadow in interface IStiArea

setShowShadow

public final void setShowShadow(boolean value)
Specified by:
setShowShadow in interface IStiArea

getBorderColor

public final StiColor getBorderColor()
Gets or sets border color of this area.

Specified by:
getBorderColor in interface IStiArea

setBorderColor

public final void setBorderColor(StiColor value)
Specified by:
setBorderColor in interface IStiArea

getBrush

public final StiBrush getBrush()
Gets or sets brush to fill a area.

Specified by:
getBrush in interface IStiArea

setBrush

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

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

LoadFromJsonObjectInternal

public static IStiArea LoadFromJsonObjectInternal(JSONObject jObject)
                                           throws JSONException
Throws:
JSONException