Package com.stimulsoft.report.styles
Class StiCrossTabStyle
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.styles.StiBaseStyle
com.stimulsoft.report.styles.StiCrossTabStyle
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,Cloneable
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
reportFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new object of the type StiCrossTabStyle.StiCrossTabStyle(String name) Creates a new object of the type StiCrossTabStyle.StiCrossTabStyle(String name, String description) Creates a new object of the type StiCrossTabStyle.StiCrossTabStyle(String name, String description, StiReport report) Creates a new object of the type StiCrossTabStyle. -
Method Summary
Modifier and TypeMethodDescriptionclone()final StiColorgetColor()Gets or sets a color of style.voidGetStyleFromComponent(StiComponent component, StiStyleElements styleElements) Gets a style from the component.voidLoadFromJsonObject(JSONObject jObject) final voidvoidSetStyleToComponent(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, toStringMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Constructor Details
-
StiCrossTabStyle
Creates a new object of the type StiCrossTabStyle.- Parameters:
name- Style name.description- Style description.
-
StiCrossTabStyle
Creates a new object of the type StiCrossTabStyle.- Parameters:
name- Style name.description- Style description.
-
StiCrossTabStyle
Creates a new object of the type StiCrossTabStyle.- Parameters:
name- Style name.
-
StiCrossTabStyle
public StiCrossTabStyle()Creates a new object of the type StiCrossTabStyle.
-
-
Method Details
-
getColor
Gets or sets a color of style. -
setColor
-
GetStyleFromComponent
Description copied from class:StiBaseStyleGets a style from the component.- Specified by:
GetStyleFromComponentin classStiBaseStyle- Parameters:
component- Component.
-
SetStyleToComponent
Description copied from class:StiBaseStyleSets style to a component.- Specified by:
SetStyleToComponentin classStiBaseStyle- Parameters:
component- Component.
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiBaseStyle- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiBaseStyle- Throws:
JSONException
-
clone
- Overrides:
clonein classStiBaseStyle
-