Package com.stimulsoft.report.styles
Class StiTableStyle
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.styles.StiBaseStyle
com.stimulsoft.report.styles.StiTableStyle
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,Cloneable
Copyright Stimulsoft
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stimulsoft.report.styles.StiBaseStyle
StiBaseStyle.StiStyleSaver -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class com.stimulsoft.report.styles.StiBaseStyle
reportFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddrawStyle(Graphics g, StiRectangle rect, boolean paintValue, boolean paintImage) voiddrawStyleForGallery(StiGraphics g, StiRectangle rect) voidGetStyleFromComponent(StiComponent component, StiStyleElements styleElements) Gets a style from the component.voidLoad(InputStream stream) voidLoadFromJsonObject(JSONObject jObject) voidSave(OutputStream stream) voidsetDataColor(StiColor dataColor) voidsetDataForeground(StiColor dataForeground) voidsetFooterColor(StiColor footerColor) voidsetFooterForeground(StiColor footerForeground) voidsetGridColor(StiColor gridColor) voidsetHeaderColor(StiColor headerColor) voidsetHeaderForeground(StiColor headerForeground) voidSetStyleToComponent(StiComponent component) Sets style to a component.Methods inherited from class com.stimulsoft.report.styles.StiBaseStyle
clone, 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
-
Field Details
-
headerColor
-
headerForeground
-
dataColor
-
dataForeground
-
gridColor
-
-
Constructor Details
-
StiTableStyle
-
StiTableStyle
-
StiTableStyle
public StiTableStyle()
-
-
Method Details
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiBaseStyle- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiBaseStyle- Throws:
JSONException
-
getHeaderColor
- Returns:
- the headerColor
-
setHeaderColor
- Parameters:
headerColor- the headerColor to set
-
getHeaderForeground
- Returns:
- the headerForeground
-
setHeaderForeground
- Parameters:
headerForeground- the headerForeground to set
-
getDataColor
- Returns:
- the dataColor
-
setDataColor
- Parameters:
dataColor- the dataColor to set
-
getDataForeground
- Returns:
- the dataForeground
-
setDataForeground
- Parameters:
dataForeground- the dataForeground to set
-
getGridColor
- Returns:
- the gridColor
-
setGridColor
- Parameters:
gridColor- the gridColor to set
-
drawStyleForGallery
-
drawStyle
-
DrawBox
-
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.
-
Save
-
Load
-