Package com.stimulsoft.report.styles
Class StiMapStyle
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.styles.StiBaseStyle
com.stimulsoft.report.styles.StiMapStyle
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,Cloneable
- Direct Known Subclasses:
StiMapStyleFX
Copyright Stimulsoft
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stimulsoft.report.styles.StiBaseStyle
StiBaseStyle.StiStyleSaver -
Field Summary
FieldsFields 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 StiMapStyle.StiMapStyle(String name) Creates a new object of the type StiMapStyle.StiMapStyle(String name, String description) Creates a new object of the type StiMapStyle.StiMapStyle(String name, String description, StiReport report) Creates a new object of the type StiMapStyle. -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawBox(StiGraphics g, StiRectangle rect, boolean paintValue, boolean paintImage, double zoom, double pageZoom) voiddrawStyle(StiGraphics g, StiRectangle rect, boolean paintValue, boolean paintImage, double zoom, double pageZoom) doublevoidGetStyleFromComponent(StiComponent component, StiStyleElements styleElements) Gets a style from the component.load(InputStream stream) voidsave(OutputStream stream) voidsetBackColor(StiColor backColor) voidsetBorderColor(StiColor borderColor) voidsetBorderSize(double borderSize) voidvoidsetDefaultColor(StiColor defaultColor) voidsetForeColor(StiColor foreColor) voidsetHeatmapColors(List<StiColor> heatmapColors) voidsetIndividualColor(StiColor individualColor) 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, LoadFromJsonObject, loadStyleFromString, SaveToJsonObject, saveToString, setCollectionName, setConditions, setDescription, setName, toStringMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Field Details
-
individualColor
-
-
Constructor Details
-
StiMapStyle
Creates a new object of the type StiMapStyle.- Parameters:
name- Style name.description- Style description.report-
-
StiMapStyle
Creates a new object of the type StiMapStyle.- Parameters:
name- Style name.description- Style description.
-
StiMapStyle
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
-
getIndividualColor
- Returns:
- the individualColor
-
setIndividualColor
- Parameters:
individualColor- the individualColor to set
-
getColors
- Returns:
- the colors
-
setColors
- Parameters:
colors- the colors to set
-
getHeatmapColors
- Returns:
- the heatmapColors
-
setHeatmapColors
- Parameters:
heatmapColors- the heatmapColors to set
-
getDefaultColor
- Returns:
- the defaultColor
-
setDefaultColor
- Parameters:
defaultColor- the defaultColor to set
-
getBackColor
- Returns:
- the backColor
-
setBackColor
- Parameters:
backColor- the backColor to set
-
getForeColor
- Returns:
- the foreColor
-
setForeColor
- 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
- Returns:
- the borderColor
-
setBorderColor
- 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
Description copied from class:StiBaseStyleGets a style from the component.- Specified by:
GetStyleFromComponentin classStiBaseStyle- Parameters:
component- Component.
-
SetStyleToComponent
Description copied from class:StiBaseStyleSets style to a component.- Specified by:
SetStyleToComponentin classStiBaseStyle- Parameters:
component- Component.
-
save
-
load
- Throws:
IOException
-