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, java.lang.Cloneable
public class StiTableStyle
- extends StiBaseStyle
Copyright Stimulsoft
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, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
headerColor
public StiColor headerColor
headerForeground
public StiColor headerForeground
footerColor
public StiColor footerColor
footerForeground
public StiColor footerForeground
dataColor
public StiColor dataColor
dataForeground
public StiColor dataForeground
gridColor
public StiColor gridColor
StiTableStyle
public StiTableStyle(java.lang.String name,
java.lang.String description)
StiTableStyle
public StiTableStyle(java.lang.String name)
StiTableStyle
public StiTableStyle()
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
getHeaderColor
public StiColor getHeaderColor()
- Returns:
- the headerColor
setHeaderColor
public void setHeaderColor(StiColor headerColor)
- Parameters:
headerColor
- the headerColor to set
getHeaderForeground
public StiColor getHeaderForeground()
- Returns:
- the headerForeground
setHeaderForeground
public void setHeaderForeground(StiColor headerForeground)
- Parameters:
headerForeground
- the headerForeground to set
getFooterColor
public StiColor getFooterColor()
- Returns:
- the footerColor
setFooterColor
public void setFooterColor(StiColor footerColor)
- Parameters:
footerColor
- the footerColor to set
getFooterForeground
public StiColor getFooterForeground()
- Returns:
- the footerForeground
setFooterForeground
public void setFooterForeground(StiColor footerForeground)
- Parameters:
footerForeground
- the footerForeground to set
getDataColor
public StiColor getDataColor()
- Returns:
- the dataColor
setDataColor
public void setDataColor(StiColor dataColor)
- Parameters:
dataColor
- the dataColor to set
getDataForeground
public StiColor getDataForeground()
- Returns:
- the dataForeground
setDataForeground
public void setDataForeground(StiColor dataForeground)
- Parameters:
dataForeground
- the dataForeground to set
getGridColor
public StiColor getGridColor()
- Returns:
- the gridColor
setGridColor
public void setGridColor(StiColor gridColor)
- Parameters:
gridColor
- the gridColor to set
drawStyleForGallery
public void drawStyleForGallery(StiGraphics g,
StiRectangle rect)
drawStyle
public void drawStyle(java.awt.Graphics g,
StiRectangle rect,
boolean paintValue,
boolean paintImage)
DrawBox
public void DrawBox(java.awt.Graphics g,
java.awt.Rectangle rect,
boolean paintValue,
boolean paintImage)
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.
Save
public void Save(java.io.OutputStream stream)
Load
public void Load(java.io.InputStream stream)