Class StiGaugeStyle

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

public class StiGaugeStyle extends StiBaseStyle
Copyright Stimulsoft
  • Field Details

    • linearScaleBrush

      public StiBrush linearScaleBrush
    • foreColor

      public StiColor foreColor
    • targetColor

      public StiColor targetColor
    • tickMarkMajorBorderWidth

      public float tickMarkMajorBorderWidth
    • tickMarkMinorBorderWidth

      public float tickMarkMinorBorderWidth
    • needleBorderWidth

      public float needleBorderWidth
  • Constructor Details

    • StiGaugeStyle

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

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

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

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

    • SaveToJsonObject

      public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
      Specified by:
      SaveToJsonObject in interface IStiJsonReportObject
      Overrides:
      SaveToJsonObject in class StiBaseStyle
      Throws:
      JSONException
    • getComponentId

      public StiComponentId getComponentId()
    • getNeedleBorderWidth

      public float getNeedleBorderWidth()
    • setNeedleBorderWidth

      public void setNeedleBorderWidth(float needleBorderWidth)
    • getForeColor

      public StiColor getForeColor()
    • setForeColor

      public void setForeColor(StiColor foreColor)
    • getTargetColor

      public StiColor getTargetColor()
    • setTargetColor

      public void setTargetColor(StiColor targetColor)
    • getTickMarkMajorBorderWidth

      public float getTickMarkMajorBorderWidth()
    • setTickMarkMajorBorderWidth

      public void setTickMarkMajorBorderWidth(float tickMarkMajorBorderWidth)
    • getTickMarkMinorBorderWidth

      public float getTickMarkMinorBorderWidth()
    • setTickMarkMinorBorderWidth

      public void setTickMarkMinorBorderWidth(float tickMarkMinorBorderWidth)
    • getLinearScaleBrush

      public StiBrush getLinearScaleBrush()
    • setLinearScaleBrush

      public void setLinearScaleBrush(StiBrush linearScaleBrush)
    • getBrush

      public StiBrush getBrush()
      Returns:
      the brush
    • setBrush

      public void setBrush(StiBrush brush)
      Parameters:
      brush - the brush to set
    • getBorderColor

      public StiColor getBorderColor()
      Returns:
      the borderColor
    • setBorderColor

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

      public double getBorderWidth()
      Returns:
      the borderWidth
    • setBorderWidth

      public void setBorderWidth(double borderWidth)
      Parameters:
      borderWidth - the borderWidth to set
    • getTickMarkMajorBrush

      public StiBrush getTickMarkMajorBrush()
      Returns:
      the tickMarkMajorBrush
    • setTickMarkMajorBrush

      public void setTickMarkMajorBrush(StiBrush tickMarkMajorBrush)
      Parameters:
      tickMarkMajorBrush - the tickMarkMajorBrush to set
    • getTickMarkMajorBorder

      public StiBrush getTickMarkMajorBorder()
      Returns:
      the tickMarkMajorBorder
    • setTickMarkMajorBorder

      public void setTickMarkMajorBorder(StiBrush tickMarkMajorBorder)
      Parameters:
      tickMarkMajorBorder - the tickMarkMajorBorder to set
    • getTickMarkMinorBrush

      public StiBrush getTickMarkMinorBrush()
      Returns:
      the tickMarkMinorBrush
    • setTickMarkMinorBrush

      public void setTickMarkMinorBrush(StiBrush tickMarkMinorBrush)
      Parameters:
      tickMarkMinorBrush - the tickMarkMinorBrush to set
    • getTickMarkMinorBorder

      public StiBrush getTickMarkMinorBorder()
      Returns:
      the tickMarkMinorBorder
    • setTickMarkMinorBorder

      public void setTickMarkMinorBorder(StiBrush tickMarkMinorBorder)
      Parameters:
      tickMarkMinorBorder - the tickMarkMinorBorder to set
    • getTickLabelMajorTextBrush

      public StiBrush getTickLabelMajorTextBrush()
      Returns:
      the tickLabelMajorTextBrush
    • setTickLabelMajorTextBrush

      public void setTickLabelMajorTextBrush(StiBrush tickLabelMajorTextBrush)
      Parameters:
      tickLabelMajorTextBrush - the tickLabelMajorTextBrush to set
    • getTickLabelMajorFont

      public StiFont getTickLabelMajorFont()
      Returns:
      the tickLabelMajorFont
    • setTickLabelMajorFont

      public void setTickLabelMajorFont(StiFont tickLabelMajorFont)
      Parameters:
      tickLabelMajorFont - the tickLabelMajorFont to set
    • getTickLabelMinorTextBrush

      public StiBrush getTickLabelMinorTextBrush()
      Returns:
      the tickLabelMinorTextBrush
    • setTickLabelMinorTextBrush

      public void setTickLabelMinorTextBrush(StiBrush tickLabelMinorTextBrush)
      Parameters:
      tickLabelMinorTextBrush - the tickLabelMinorTextBrush to set
    • getTickLabelMinorFont

      public StiFont getTickLabelMinorFont()
      Returns:
      the tickLabelMinorFont
    • setTickLabelMinorFont

      public void setTickLabelMinorFont(StiFont tickLabelMinorFont)
      Parameters:
      tickLabelMinorFont - the tickLabelMinorFont to set
    • getMarkerBrush

      public StiBrush getMarkerBrush()
      Returns:
      the markerBrush
    • setMarkerBrush

      public void setMarkerBrush(StiBrush markerBrush)
      Parameters:
      markerBrush - the markerBrush to set
    • getLinearBarBrush

      public StiBrush getLinearBarBrush()
      Returns:
      the linearBarBrush
    • setLinearBarBrush

      public void setLinearBarBrush(StiBrush linearBarBrush)
      Parameters:
      linearBarBrush - the linearBarBrush to set
    • getLinearBarBorderBrush

      public StiBrush getLinearBarBorderBrush()
      Returns:
      the linearBarBorderBrush
    • setLinearBarBorderBrush

      public void setLinearBarBorderBrush(StiBrush linearBarBorderBrush)
      Parameters:
      linearBarBorderBrush - the linearBarBorderBrush to set
    • getLinearBarEmptyBrush

      public StiBrush getLinearBarEmptyBrush()
      Returns:
      the linearBarEmptyBrush
    • setLinearBarEmptyBrush

      public void setLinearBarEmptyBrush(StiBrush linearBarEmptyBrush)
      Parameters:
      linearBarEmptyBrush - the linearBarEmptyBrush to set
    • getLinearBarEmptyBorderBrush

      public StiBrush getLinearBarEmptyBorderBrush()
      Returns:
      the linearBarEmptyBorderBrush
    • setLinearBarEmptyBorderBrush

      public void setLinearBarEmptyBorderBrush(StiBrush linearBarEmptyBorderBrush)
      Parameters:
      linearBarEmptyBorderBrush - the linearBarEmptyBorderBrush to set
    • getRadialBarBrush

      public StiBrush getRadialBarBrush()
      Returns:
      the radialBarBrush
    • setRadialBarBrush

      public void setRadialBarBrush(StiBrush radialBarBrush)
      Parameters:
      radialBarBrush - the radialBarBrush to set
    • getRadialBarBorderBrush

      public StiBrush getRadialBarBorderBrush()
      Returns:
      the radialBarBorderBrush
    • setRadialBarBorderBrush

      public void setRadialBarBorderBrush(StiBrush radialBarBorderBrush)
      Parameters:
      radialBarBorderBrush - the radialBarBorderBrush to set
    • getRadialBarEmptyBrush

      public StiBrush getRadialBarEmptyBrush()
      Returns:
      the radialBarEmptyBrush
    • setRadialBarEmptyBrush

      public void setRadialBarEmptyBrush(StiBrush radialBarEmptyBrush)
      Parameters:
      radialBarEmptyBrush - the radialBarEmptyBrush to set
    • getRadialBarEmptyBorderBrush

      public StiBrush getRadialBarEmptyBorderBrush()
      Returns:
      the radialBarEmptyBorderBrush
    • setRadialBarEmptyBorderBrush

      public void setRadialBarEmptyBorderBrush(StiBrush radialBarEmptyBorderBrush)
      Parameters:
      radialBarEmptyBorderBrush - the radialBarEmptyBorderBrush to set
    • getNeedleBrush

      public StiBrush getNeedleBrush()
      Returns:
      the needleBrush
    • setNeedleBrush

      public void setNeedleBrush(StiBrush needleBrush)
      Parameters:
      needleBrush - the needleBrush to set
    • getNeedleBorderBrush

      public StiBrush getNeedleBorderBrush()
      Returns:
      the needleBorderBrush
    • setNeedleBorderBrush

      public void setNeedleBorderBrush(StiBrush needleBorderBrush)
      Parameters:
      needleBorderBrush - the needleBorderBrush to set
    • getNeedleCapBrush

      public StiBrush getNeedleCapBrush()
      Returns:
      the needleCapBrush
    • setNeedleCapBrush

      public void setNeedleCapBrush(StiBrush needleCapBrush)
      Parameters:
      needleCapBrush - the needleCapBrush to set
    • getNeedleCapBorderBrush

      public StiBrush getNeedleCapBorderBrush()
      Returns:
      the needleCapBorderBrush
    • setNeedleCapBorderBrush

      public void setNeedleCapBorderBrush(StiBrush needleCapBorderBrush)
      Parameters:
      needleCapBorderBrush - the needleCapBorderBrush to set
    • GetStyleFromComponent

      public void GetStyleFromComponent(StiComponent component, StiStyleElements styleElements)
      Gets a style from the component.
      Specified by:
      GetStyleFromComponent in class StiBaseStyle
      Parameters:
      component -
      styleElements -
    • SetStyleToComponent

      public void SetStyleToComponent(StiComponent component)
      Sets style to a component.
      Specified by:
      SetStyleToComponent in class StiBaseStyle
      Parameters:
      component -