com.stimulsoft.report.styles
Class StiCrossTabStyle

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.styles.StiBaseStyle
          extended by com.stimulsoft.report.styles.StiCrossTabStyle
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiName, java.lang.Cloneable

public class StiCrossTabStyle
extends StiBaseStyle

Describes the class that contains a style for CrossTab components.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stimulsoft.report.styles.StiBaseStyle
StiBaseStyle.StiStyleSaver
 
Field Summary
 
Fields inherited from class com.stimulsoft.report.styles.StiBaseStyle
report
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiCrossTabStyle()
          Creates a new object of the type StiCrossTabStyle.
StiCrossTabStyle(java.lang.String name)
          Creates a new object of the type StiCrossTabStyle.
StiCrossTabStyle(java.lang.String name, java.lang.String description)
          Creates a new object of the type StiCrossTabStyle.
StiCrossTabStyle(java.lang.String name, java.lang.String description, StiReport report)
          Creates a new object of the type StiCrossTabStyle.
 
Method Summary
 java.lang.Object clone()
           
 StiColor getColor()
          Gets or sets a color of style.
 void GetStyleFromComponent(StiComponent component, StiStyleElements styleElements)
          Gets a style from the component.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setColor(StiColor value)
           
 void SetStyleToComponent(StiComponent component)
          Sets style to a component.
 
Methods inherited from class com.stimulsoft.report.styles.StiBaseStyle
equals, getCollectionName, getConditions, getDescription, getName, getStyle, getStyle, getStyle, getStyle, GetStyleFromComponents, loadStyleFromString, saveToString, setCollectionName, setConditions, setDescription, setName, toString
 
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
 

Constructor Detail

StiCrossTabStyle

public StiCrossTabStyle(java.lang.String name,
                        java.lang.String description,
                        StiReport report)
Creates a new object of the type StiCrossTabStyle.

Parameters:
name - Style name.
description - Style description.

StiCrossTabStyle

public StiCrossTabStyle(java.lang.String name,
                        java.lang.String description)
Creates a new object of the type StiCrossTabStyle.

Parameters:
name - Style name.
description - Style description.

StiCrossTabStyle

public StiCrossTabStyle(java.lang.String name)
Creates a new object of the type StiCrossTabStyle.

Parameters:
name - Style name.

StiCrossTabStyle

public StiCrossTabStyle()
Creates a new object of the type StiCrossTabStyle.

Method Detail

getColor

public final StiColor getColor()
Gets or sets a color of style.


setColor

public final void setColor(StiColor value)

GetStyleFromComponent

public void GetStyleFromComponent(StiComponent component,
                                  StiStyleElements styleElements)
Description copied from class: StiBaseStyle
Gets a style from the component.

Specified by:
GetStyleFromComponent in class StiBaseStyle
Parameters:
component - Component.

SetStyleToComponent

public void SetStyleToComponent(StiComponent component)
Description copied from class: StiBaseStyle
Sets style to a component.

Specified by:
SetStyleToComponent in class StiBaseStyle
Parameters:
component - Component.

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Overrides:
SaveToJsonObject in class StiBaseStyle
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiBaseStyle
Throws:
JSONException

clone

public java.lang.Object clone()
Overrides:
clone in class StiBaseStyle