Class StiTableStyle

All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiName, Cloneable

public class StiTableStyle extends StiBaseStyle
Copyright Stimulsoft
  • Field Details

    • 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
  • Constructor Details

    • StiTableStyle

      public StiTableStyle(String name, String description)
    • StiTableStyle

      public StiTableStyle(String name)
    • StiTableStyle

      public StiTableStyle()
  • Method Details

    • 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(Graphics g, StiRectangle rect, boolean paintValue, boolean paintImage)
    • DrawBox

      public void DrawBox(Graphics g, 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(OutputStream stream)
    • Load

      public void Load(InputStream stream)