Package com.stimulsoft.report.styles
Class StiIndicatorStyle
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.styles.StiBaseStyle
com.stimulsoft.report.styles.StiIndicatorStyle
- 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 TypeFieldDescriptionFields 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 StiIndicatorStyle.StiIndicatorStyle(String name) Creates a new object of the type StiIndicatorStyle.StiIndicatorStyle(String name, String description) Creates a new object of the type StiIndicatorStyle.StiIndicatorStyle(String name, String description, StiReport report) Creates a new object of the type StiIndicatorStyle. -
Method Summary
Modifier and TypeMethodDescriptionvoidGetStyleFromComponent(StiComponent component, StiStyleElements styleElements) Gets a style from the component.load(InputStream stream) Loads the style from the stream.voidLoadFromJsonObject(JSONObject jObject) voidsave(OutputStream stream) Saves the style in the stream.voidsetBackColor(StiColor backColor) voidsetForeColor(StiColor foreColor) voidsetGlyphColor(StiColor glyphColor) voidsetHotBackColor(StiColor hotBackColor) voidsetNegativeColor(StiColor negativeColor) voidsetPositiveColor(StiColor positiveColor) voidSetStyleToComponent(StiComponent component) Sets style to a component.Methods inherited from class com.stimulsoft.report.styles.StiBaseStyle
clone, equals, getCollectionName, getConditions, getDescription, getName, getStyle, getStyle, getStyle, getStyle, GetStyleFromComponents, loadStyleFromString, saveToString, setCollectionName, setConditions, setDescription, setName, toStringMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Field Details
-
backColor
-
glyphColor
-
foreColor
-
hotBackColor
-
positiveColor
-
negativeColor
-
-
Constructor Details
-
StiIndicatorStyle
Creates a new object of the type StiIndicatorStyle.- Parameters:
name- Style namedescription- Style descriptionreport-
-
StiIndicatorStyle
Creates a new object of the type StiIndicatorStyle.- Parameters:
name- Style namedescription- Style name
-
StiIndicatorStyle
Creates a new object of the type StiIndicatorStyle.- Parameters:
name- Style name
-
StiIndicatorStyle
public StiIndicatorStyle()Creates a new object of the type StiIndicatorStyle.
-
-
Method Details
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiBaseStyle- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiBaseStyle- Throws:
JSONException
-
getBackColor
- Returns:
- the backColor
-
setBackColor
- Parameters:
backColor- the backColor to set
-
getGlyphColor
- Returns:
- the glyphColor
-
setGlyphColor
- Parameters:
glyphColor- the glyphColor to set
-
getForeColor
- Returns:
- the foreColor
-
setForeColor
- Parameters:
foreColor- the foreColor to set
-
getHotBackColor
- Returns:
- the hotBackColor
-
setHotBackColor
- Parameters:
hotBackColor- the hotBackColor to set
-
getPositiveColor
- Returns:
- the positiveColor
-
setPositiveColor
- Parameters:
positiveColor- the positiveColor to set
-
getNegativeColor
- Returns:
- the negativeColor
-
setNegativeColor
- Parameters:
negativeColor- the negativeColor to set
-
GetStyleFromComponent
Description copied from class:StiBaseStyleGets a style from the component.- Specified by:
GetStyleFromComponentin classStiBaseStyle- Parameters:
component- Component.
-
SetStyleToComponent
Sets style to a component.- Specified by:
SetStyleToComponentin classStiBaseStyle- Parameters:
component- Component.
-
save
Saves the style in the stream.- Parameters:
stream-
-
load
Loads the style from the stream.- Parameters:
stream-- Returns:
- Throws:
IOException
-