Package com.stimulsoft.report.styles
Class StiGaugeStyle
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.styles.StiBaseStyle
com.stimulsoft.report.styles.StiGaugeStyle
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,Cloneable
Copyright Stimulsoft
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stimulsoft.report.styles.StiBaseStyle
StiBaseStyle.StiStyleSaver -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatFields inherited from class com.stimulsoft.report.styles.StiBaseStyle
reportFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new object of the type StiGaugeStyle.StiGaugeStyle(String name) Creates a new object of the type StiGaugeStyle.StiGaugeStyle(String name, String description) Creates a new object of the type StiGaugeStyle.StiGaugeStyle(String name, String description, StiReport report) Creates a new object of the type StiGaugeStyle. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetBrush()floatvoidGetStyleFromComponent(StiComponent component, StiStyleElements styleElements) Gets a style from the component.floatfloatvoidsetBorderColor(StiColor borderColor) voidsetBorderWidth(double borderWidth) voidvoidsetForeColor(StiColor foreColor) voidsetLinearBarBorderBrush(StiBrush linearBarBorderBrush) voidsetLinearBarBrush(StiBrush linearBarBrush) voidsetLinearBarEmptyBorderBrush(StiBrush linearBarEmptyBorderBrush) voidsetLinearBarEmptyBrush(StiBrush linearBarEmptyBrush) voidsetLinearScaleBrush(StiBrush linearScaleBrush) voidsetMarkerBrush(StiBrush markerBrush) voidsetNeedleBorderBrush(StiBrush needleBorderBrush) voidsetNeedleBorderWidth(float needleBorderWidth) voidsetNeedleBrush(StiBrush needleBrush) voidsetNeedleCapBorderBrush(StiBrush needleCapBorderBrush) voidsetNeedleCapBrush(StiBrush needleCapBrush) voidsetRadialBarBorderBrush(StiBrush radialBarBorderBrush) voidsetRadialBarBrush(StiBrush radialBarBrush) voidsetRadialBarEmptyBorderBrush(StiBrush radialBarEmptyBorderBrush) voidsetRadialBarEmptyBrush(StiBrush radialBarEmptyBrush) voidSetStyleToComponent(StiComponent component) Sets style to a component.voidsetTargetColor(StiColor targetColor) voidsetTickLabelMajorFont(StiFont tickLabelMajorFont) voidsetTickLabelMajorTextBrush(StiBrush tickLabelMajorTextBrush) voidsetTickLabelMinorFont(StiFont tickLabelMinorFont) voidsetTickLabelMinorTextBrush(StiBrush tickLabelMinorTextBrush) voidsetTickMarkMajorBorder(StiBrush tickMarkMajorBorder) voidsetTickMarkMajorBorderWidth(float tickMarkMajorBorderWidth) voidsetTickMarkMajorBrush(StiBrush tickMarkMajorBrush) voidsetTickMarkMinorBorder(StiBrush tickMarkMinorBorder) voidsetTickMarkMinorBorderWidth(float tickMarkMinorBorderWidth) voidsetTickMarkMinorBrush(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, toStringMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Field Details
-
linearScaleBrush
-
foreColor
-
targetColor
-
tickMarkMajorBorderWidth
public float tickMarkMajorBorderWidth -
tickMarkMinorBorderWidth
public float tickMarkMinorBorderWidth -
needleBorderWidth
public float needleBorderWidth
-
-
Constructor Details
-
StiGaugeStyle
Creates a new object of the type StiGaugeStyle.- Parameters:
name- Style name.description- Style description.report-
-
StiGaugeStyle
Creates a new object of the type StiGaugeStyle.- Parameters:
name- Style name.description- Style description.
-
StiGaugeStyle
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
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiBaseStyle- Throws:
JSONException
-
getComponentId
-
getNeedleBorderWidth
public float getNeedleBorderWidth() -
setNeedleBorderWidth
public void setNeedleBorderWidth(float needleBorderWidth) -
getForeColor
-
setForeColor
-
getTargetColor
-
setTargetColor
-
getTickMarkMajorBorderWidth
public float getTickMarkMajorBorderWidth() -
setTickMarkMajorBorderWidth
public void setTickMarkMajorBorderWidth(float tickMarkMajorBorderWidth) -
getTickMarkMinorBorderWidth
public float getTickMarkMinorBorderWidth() -
setTickMarkMinorBorderWidth
public void setTickMarkMinorBorderWidth(float tickMarkMinorBorderWidth) -
getLinearScaleBrush
-
setLinearScaleBrush
-
getBrush
- Returns:
- the brush
-
setBrush
- Parameters:
brush- the brush to set
-
getBorderColor
- Returns:
- the borderColor
-
setBorderColor
- 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
- Returns:
- the tickMarkMajorBrush
-
setTickMarkMajorBrush
- Parameters:
tickMarkMajorBrush- the tickMarkMajorBrush to set
-
getTickMarkMajorBorder
- Returns:
- the tickMarkMajorBorder
-
setTickMarkMajorBorder
- Parameters:
tickMarkMajorBorder- the tickMarkMajorBorder to set
-
getTickMarkMinorBrush
- Returns:
- the tickMarkMinorBrush
-
setTickMarkMinorBrush
- Parameters:
tickMarkMinorBrush- the tickMarkMinorBrush to set
-
getTickMarkMinorBorder
- Returns:
- the tickMarkMinorBorder
-
setTickMarkMinorBorder
- Parameters:
tickMarkMinorBorder- the tickMarkMinorBorder to set
-
getTickLabelMajorTextBrush
- Returns:
- the tickLabelMajorTextBrush
-
setTickLabelMajorTextBrush
- Parameters:
tickLabelMajorTextBrush- the tickLabelMajorTextBrush to set
-
getTickLabelMajorFont
- Returns:
- the tickLabelMajorFont
-
setTickLabelMajorFont
- Parameters:
tickLabelMajorFont- the tickLabelMajorFont to set
-
getTickLabelMinorTextBrush
- Returns:
- the tickLabelMinorTextBrush
-
setTickLabelMinorTextBrush
- Parameters:
tickLabelMinorTextBrush- the tickLabelMinorTextBrush to set
-
getTickLabelMinorFont
- Returns:
- the tickLabelMinorFont
-
setTickLabelMinorFont
- Parameters:
tickLabelMinorFont- the tickLabelMinorFont to set
-
getMarkerBrush
- Returns:
- the markerBrush
-
setMarkerBrush
- Parameters:
markerBrush- the markerBrush to set
-
getLinearBarBrush
- Returns:
- the linearBarBrush
-
setLinearBarBrush
- Parameters:
linearBarBrush- the linearBarBrush to set
-
getLinearBarBorderBrush
- Returns:
- the linearBarBorderBrush
-
setLinearBarBorderBrush
- Parameters:
linearBarBorderBrush- the linearBarBorderBrush to set
-
getLinearBarEmptyBrush
- Returns:
- the linearBarEmptyBrush
-
setLinearBarEmptyBrush
- Parameters:
linearBarEmptyBrush- the linearBarEmptyBrush to set
-
getLinearBarEmptyBorderBrush
- Returns:
- the linearBarEmptyBorderBrush
-
setLinearBarEmptyBorderBrush
- Parameters:
linearBarEmptyBorderBrush- the linearBarEmptyBorderBrush to set
-
getRadialBarBrush
- Returns:
- the radialBarBrush
-
setRadialBarBrush
- Parameters:
radialBarBrush- the radialBarBrush to set
-
getRadialBarBorderBrush
- Returns:
- the radialBarBorderBrush
-
setRadialBarBorderBrush
- Parameters:
radialBarBorderBrush- the radialBarBorderBrush to set
-
getRadialBarEmptyBrush
- Returns:
- the radialBarEmptyBrush
-
setRadialBarEmptyBrush
- Parameters:
radialBarEmptyBrush- the radialBarEmptyBrush to set
-
getRadialBarEmptyBorderBrush
- Returns:
- the radialBarEmptyBorderBrush
-
setRadialBarEmptyBorderBrush
- Parameters:
radialBarEmptyBorderBrush- the radialBarEmptyBorderBrush to set
-
getNeedleBrush
- Returns:
- the needleBrush
-
setNeedleBrush
- Parameters:
needleBrush- the needleBrush to set
-
getNeedleBorderBrush
- Returns:
- the needleBorderBrush
-
setNeedleBorderBrush
- Parameters:
needleBorderBrush- the needleBorderBrush to set
-
getNeedleCapBrush
- Returns:
- the needleCapBrush
-
setNeedleCapBrush
- Parameters:
needleCapBrush- the needleCapBrush to set
-
getNeedleCapBorderBrush
- Returns:
- the needleCapBorderBrush
-
setNeedleCapBorderBrush
- Parameters:
needleCapBorderBrush- the needleCapBorderBrush to set
-
GetStyleFromComponent
Gets a style from the component.- Specified by:
GetStyleFromComponentin classStiBaseStyle- Parameters:
component-styleElements-
-
SetStyleToComponent
Sets style to a component.- Specified by:
SetStyleToComponentin classStiBaseStyle- Parameters:
component-
-