Class StiMapStyle

All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiName, Cloneable
Direct Known Subclasses:
StiMapStyleFX

public class StiMapStyle extends StiBaseStyle
Copyright Stimulsoft
  • Field Details

    • individualColor

      public StiColor individualColor
  • Constructor Details

    • StiMapStyle

      public StiMapStyle(String name, String description, StiReport report)
      Creates a new object of the type StiMapStyle.
      Parameters:
      name - Style name.
      description - Style description.
      report -
    • StiMapStyle

      public StiMapStyle(String name, String description)
      Creates a new object of the type StiMapStyle.
      Parameters:
      name - Style name.
      description - Style description.
    • StiMapStyle

      public StiMapStyle(String name)
      Creates a new object of the type StiMapStyle.
      Parameters:
      name - Style name.
    • StiMapStyle

      public StiMapStyle()
      Creates a new object of the type StiMapStyle.
  • Method Details

    • getComponentId

      public StiComponentId getComponentId()
    • getIndividualColor

      public StiColor getIndividualColor()
      Returns:
      the individualColor
    • setIndividualColor

      public void setIndividualColor(StiColor individualColor)
      Parameters:
      individualColor - the individualColor to set
    • getColors

      public List<StiColor> getColors()
      Returns:
      the colors
    • setColors

      public void setColors(List<StiColor> colors)
      Parameters:
      colors - the colors to set
    • getHeatmapColors

      public List<StiColor> getHeatmapColors()
      Returns:
      the heatmapColors
    • setHeatmapColors

      public void setHeatmapColors(List<StiColor> heatmapColors)
      Parameters:
      heatmapColors - the heatmapColors to set
    • getDefaultColor

      public StiColor getDefaultColor()
      Returns:
      the defaultColor
    • setDefaultColor

      public void setDefaultColor(StiColor defaultColor)
      Parameters:
      defaultColor - the defaultColor to set
    • getBackColor

      public StiColor getBackColor()
      Returns:
      the backColor
    • setBackColor

      public void setBackColor(StiColor backColor)
      Parameters:
      backColor - the backColor to set
    • getForeColor

      public StiColor getForeColor()
      Returns:
      the foreColor
    • setForeColor

      public void setForeColor(StiColor foreColor)
      Parameters:
      foreColor - the foreColor to set
    • getBorderSize

      public double getBorderSize()
      Returns:
      the borderSize
    • setBorderSize

      public void setBorderSize(double borderSize)
      Parameters:
      borderSize - the borderSize to set
    • getBorderColor

      public StiColor getBorderColor()
      Returns:
      the borderColor
    • setBorderColor

      public void setBorderColor(StiColor borderColor)
      Parameters:
      borderColor - the borderColor to set
    • drawStyle

      public void drawStyle(StiGraphics g, StiRectangle rect, boolean paintValue, boolean paintImage, double zoom, double pageZoom) throws IOException
      Throws:
      IOException
    • drawBox

      public void drawBox(StiGraphics g, StiRectangle rect, boolean paintValue, boolean paintImage, double zoom, double pageZoom) throws IOException
      Throws:
      IOException
    • 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 StiMapStyle load(InputStream stream) throws IOException
      Throws:
      IOException