public class StiTableStyle extends StiBaseStyle
StiBaseStyle.StiStyleSaver| Modifier and Type | Field and Description |
|---|---|
StiColor |
dataColor |
StiColor |
dataForeground |
StiColor |
footerColor |
StiColor |
footerForeground |
StiColor |
gridColor |
StiColor |
headerColor |
StiColor |
headerForeground |
reportREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiTableStyle() |
StiTableStyle(java.lang.String name) |
StiTableStyle(java.lang.String name,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
void |
DrawBox(java.awt.Graphics g,
java.awt.Rectangle rect,
boolean paintValue,
boolean paintImage) |
void |
drawStyle(java.awt.Graphics g,
StiRectangle rect,
boolean paintValue,
boolean paintImage) |
void |
drawStyleForGallery(StiGraphics g,
StiRectangle rect) |
StiColor |
getDataColor() |
StiColor |
getDataForeground() |
StiColor |
getFooterColor() |
StiColor |
getFooterForeground() |
StiColor |
getGridColor() |
StiColor |
getHeaderColor() |
StiColor |
getHeaderForeground() |
void |
GetStyleFromComponent(StiComponent component,
StiStyleElements styleElements)
Gets a style from the component.
|
void |
Load(java.io.InputStream stream) |
void |
LoadFromJsonObject(JSONObject jObject) |
void |
Save(java.io.OutputStream stream) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setDataColor(StiColor dataColor) |
void |
setDataForeground(StiColor dataForeground) |
void |
setFooterColor(StiColor footerColor) |
void |
setFooterForeground(StiColor footerForeground) |
void |
setGridColor(StiColor gridColor) |
void |
setHeaderColor(StiColor headerColor) |
void |
setHeaderForeground(StiColor headerForeground) |
void |
SetStyleToComponent(StiComponent component)
Sets style to a component.
|
clone, equals, getCollectionName, getConditions, getDescription, getName, getStyle, getStyle, getStyle, getStyle, GetStyleFromComponents, loadStyleFromString, saveToString, setCollectionName, setConditions, setDescription, setName, toStringcleanReference, getReference, setReferencepublic StiColor headerColor
public StiColor headerForeground
public StiColor footerColor
public StiColor footerForeground
public StiColor dataColor
public StiColor dataForeground
public StiColor gridColor
public StiTableStyle(java.lang.String name,
java.lang.String description)
public StiTableStyle(java.lang.String name)
public StiTableStyle()
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiBaseStyleJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiBaseStyleJSONExceptionpublic StiColor getHeaderColor()
public void setHeaderColor(StiColor headerColor)
headerColor - the headerColor to setpublic StiColor getHeaderForeground()
public void setHeaderForeground(StiColor headerForeground)
headerForeground - the headerForeground to setpublic StiColor getFooterColor()
public void setFooterColor(StiColor footerColor)
footerColor - the footerColor to setpublic StiColor getFooterForeground()
public void setFooterForeground(StiColor footerForeground)
footerForeground - the footerForeground to setpublic StiColor getDataColor()
public void setDataColor(StiColor dataColor)
dataColor - the dataColor to setpublic StiColor getDataForeground()
public void setDataForeground(StiColor dataForeground)
dataForeground - the dataForeground to setpublic StiColor getGridColor()
public void setGridColor(StiColor gridColor)
gridColor - the gridColor to setpublic void drawStyleForGallery(StiGraphics g, StiRectangle rect)
public void drawStyle(java.awt.Graphics g,
StiRectangle rect,
boolean paintValue,
boolean paintImage)
public void DrawBox(java.awt.Graphics g,
java.awt.Rectangle rect,
boolean paintValue,
boolean paintImage)
public void GetStyleFromComponent(StiComponent component, StiStyleElements styleElements)
StiBaseStyleGetStyleFromComponent in class StiBaseStylecomponent - Component.public void SetStyleToComponent(StiComponent component)
StiBaseStyleSetStyleToComponent in class StiBaseStylecomponent - Component.public void Save(java.io.OutputStream stream)
public void Load(java.io.InputStream stream)
Copyright © 2019 Stimulsoft. All Rights Reserved.