com.stimulsoft.report.styles
Class StiGaugeStyle

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.styles.StiBaseStyle
          extended by com.stimulsoft.report.styles.StiGaugeStyle
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiName, java.lang.Cloneable

public class StiGaugeStyle
extends StiBaseStyle

Copyright Stimulsoft


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stimulsoft.report.styles.StiBaseStyle
StiBaseStyle.StiStyleSaver
 
Field Summary
 
Fields inherited from class com.stimulsoft.report.styles.StiBaseStyle
report
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiGaugeStyle()
          Creates a new object of the type StiGaugeStyle.
StiGaugeStyle(java.lang.String name)
          Creates a new object of the type StiGaugeStyle.
StiGaugeStyle(java.lang.String name, java.lang.String description)
          Creates a new object of the type StiGaugeStyle.
StiGaugeStyle(java.lang.String name, java.lang.String description, StiReport report)
          Creates a new object of the type StiGaugeStyle.
 
Method Summary
 StiColor getBorderColor()
           
 double getBorderWidth()
           
 StiBrush getBrush()
           
 StiComponentId getComponentId()
           
 StiBrush getLinearBarBorderBrush()
           
 StiBrush getLinearBarBrush()
           
 StiBrush getLinearBarEmptyBorderBrush()
           
 StiBrush getLinearBarEmptyBrush()
           
 StiBrush getMarkerBrush()
           
 StiBrush getNeedleBorderBrush()
           
 StiBrush getNeedleBrush()
           
 StiBrush getNeedleCapBorderBrush()
           
 StiBrush getNeedleCapBrush()
           
 StiBrush getRadialBarBorderBrush()
           
 StiBrush getRadialBarBrush()
           
 StiBrush getRadialBarEmptyBorderBrush()
           
 StiBrush getRadialBarEmptyBrush()
           
 void GetStyleFromComponent(StiComponent component, StiStyleElements styleElements)
          Gets a style from the component.
 StiFont getTickLabelMajorFont()
           
 StiBrush getTickLabelMajorTextBrush()
           
 StiFont getTickLabelMinorFont()
           
 StiBrush getTickLabelMinorTextBrush()
           
 StiBrush getTickMarkMajorBorder()
           
 StiBrush getTickMarkMajorBrush()
           
 StiBrush getTickMarkMinorBorder()
           
 StiBrush getTickMarkMinorBrush()
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setBorderColor(StiColor borderColor)
           
 void setBorderWidth(double borderWidth)
           
 void setBrush(StiBrush brush)
           
 void setLinearBarBorderBrush(StiBrush linearBarBorderBrush)
           
 void setLinearBarBrush(StiBrush linearBarBrush)
           
 void setLinearBarEmptyBorderBrush(StiBrush linearBarEmptyBorderBrush)
           
 void setLinearBarEmptyBrush(StiBrush linearBarEmptyBrush)
           
 void setMarkerBrush(StiBrush markerBrush)
           
 void setNeedleBorderBrush(StiBrush needleBorderBrush)
           
 void setNeedleBrush(StiBrush needleBrush)
           
 void setNeedleCapBorderBrush(StiBrush needleCapBorderBrush)
           
 void setNeedleCapBrush(StiBrush needleCapBrush)
           
 void setRadialBarBorderBrush(StiBrush radialBarBorderBrush)
           
 void setRadialBarBrush(StiBrush radialBarBrush)
           
 void setRadialBarEmptyBorderBrush(StiBrush radialBarEmptyBorderBrush)
           
 void setRadialBarEmptyBrush(StiBrush radialBarEmptyBrush)
           
 void SetStyleToComponent(StiComponent component)
          Sets style to a component.
 void setTickLabelMajorFont(StiFont tickLabelMajorFont)
           
 void setTickLabelMajorTextBrush(StiBrush tickLabelMajorTextBrush)
           
 void setTickLabelMinorFont(StiFont tickLabelMinorFont)
           
 void setTickLabelMinorTextBrush(StiBrush tickLabelMinorTextBrush)
           
 void setTickMarkMajorBorder(StiBrush tickMarkMajorBorder)
           
 void setTickMarkMajorBrush(StiBrush tickMarkMajorBrush)
           
 void setTickMarkMinorBorder(StiBrush tickMarkMinorBorder)
           
 void setTickMarkMinorBrush(StiBrush tickMarkMinorBrush)
           
 
Methods inherited from class com.stimulsoft.report.styles.StiBaseStyle
clone, equals, getCollectionName, getConditions, getDescription, getName, getStyle, getStyle, getStyle, getStyle, GetStyleFromComponents, LoadFromJsonObject, loadStyleFromString, saveToString, setCollectionName, setConditions, setDescription, setName, toString
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StiGaugeStyle

public StiGaugeStyle(java.lang.String name,
                     java.lang.String description,
                     StiReport report)
Creates a new object of the type StiGaugeStyle.

Parameters:
name - Style name.
description - Style description.
report -

StiGaugeStyle

public StiGaugeStyle(java.lang.String name,
                     java.lang.String description)
Creates a new object of the type StiGaugeStyle.

Parameters:
name - Style name.
description - Style description.

StiGaugeStyle

public StiGaugeStyle(java.lang.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 Detail

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()

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 -