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, java.lang.Cloneable
- Direct Known Subclasses:
- StiMapStyleFX
public class StiMapStyle
- extends StiBaseStyle
Copyright Stimulsoft
Constructor Summary |
StiMapStyle()
Creates a new object of the type StiMapStyle. |
StiMapStyle(java.lang.String name)
Creates a new object of the type StiMapStyle. |
StiMapStyle(java.lang.String name,
java.lang.String description)
Creates a new object of the type StiMapStyle. |
StiMapStyle(java.lang.String name,
java.lang.String description,
StiReport report)
Creates a new object of the type StiMapStyle. |
Method Summary |
void |
drawBox(StiGraphics g,
StiRectangle rect,
boolean paintValue,
boolean paintImage,
double zoom,
double pageZoom)
|
void |
drawStyle(StiGraphics g,
StiRectangle rect,
boolean paintValue,
boolean paintImage,
double zoom,
double pageZoom)
|
StiColor |
getBackColor()
|
StiColor |
getBorderColor()
|
double |
getBorderSize()
|
java.util.List<StiColor> |
getColors()
|
StiComponentId |
getComponentId()
|
StiColor |
getDefaultColor()
|
StiColor |
getForeColor()
|
java.util.List<StiColor> |
getHeatmapColors()
|
StiColor |
getIndividualColor()
|
void |
GetStyleFromComponent(StiComponent component,
StiStyleElements styleElements)
Gets a style from the component. |
StiMapStyle |
load(java.io.InputStream stream)
|
void |
save(java.io.OutputStream stream)
|
void |
setBackColor(StiColor backColor)
|
void |
setBorderColor(StiColor borderColor)
|
void |
setBorderSize(double borderSize)
|
void |
setColors(java.util.List<StiColor> colors)
|
void |
setDefaultColor(StiColor defaultColor)
|
void |
setForeColor(StiColor foreColor)
|
void |
setHeatmapColors(java.util.List<StiColor> heatmapColors)
|
void |
setIndividualColor(StiColor individualColor)
|
void |
SetStyleToComponent(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, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
individualColor
public StiColor individualColor
StiMapStyle
public StiMapStyle(java.lang.String name,
java.lang.String description,
StiReport report)
- Creates a new object of the type StiMapStyle.
- Parameters:
name
- Style name.description
- Style description.report
-
StiMapStyle
public StiMapStyle(java.lang.String name,
java.lang.String description)
- Creates a new object of the type StiMapStyle.
- Parameters:
name
- Style name.description
- Style description.
StiMapStyle
public StiMapStyle(java.lang.String name)
- Creates a new object of the type StiMapStyle.
- Parameters:
name
- Style name.
StiMapStyle
public StiMapStyle()
- Creates a new object of the type StiMapStyle.
getComponentId
public StiComponentId getComponentId()
getIndividualColor
public StiColor getIndividualColor()
- Returns:
- the individualColor
setIndividualColor
public void setIndividualColor(StiColor individualColor)
- Parameters:
individualColor
- the individualColor to set
getColors
public java.util.List<StiColor> getColors()
- Returns:
- the colors
setColors
public void setColors(java.util.List<StiColor> colors)
- Parameters:
colors
- the colors to set
getHeatmapColors
public java.util.List<StiColor> getHeatmapColors()
- Returns:
- the heatmapColors
setHeatmapColors
public void setHeatmapColors(java.util.List<StiColor> heatmapColors)
- Parameters:
heatmapColors
- the heatmapColors to set
getDefaultColor
public StiColor getDefaultColor()
- Returns:
- the defaultColor
setDefaultColor
public void setDefaultColor(StiColor defaultColor)
- Parameters:
defaultColor
- the defaultColor to set
getBackColor
public StiColor getBackColor()
- Returns:
- the backColor
setBackColor
public void setBackColor(StiColor backColor)
- Parameters:
backColor
- the backColor to set
getForeColor
public StiColor getForeColor()
- Returns:
- the foreColor
setForeColor
public void setForeColor(StiColor foreColor)
- 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
public StiColor getBorderColor()
- Returns:
- the borderColor
setBorderColor
public void setBorderColor(StiColor borderColor)
- Parameters:
borderColor
- the borderColor to set
drawStyle
public void drawStyle(StiGraphics g,
StiRectangle rect,
boolean paintValue,
boolean paintImage,
double zoom,
double pageZoom)
throws java.io.IOException
- Throws:
java.io.IOException
drawBox
public void drawBox(StiGraphics g,
StiRectangle rect,
boolean paintValue,
boolean paintImage,
double zoom,
double pageZoom)
throws java.io.IOException
- Throws:
java.io.IOException
GetStyleFromComponent
public void GetStyleFromComponent(StiComponent component,
StiStyleElements styleElements)
- Description copied from class:
StiBaseStyle
- Gets a style from the component.
- Specified by:
GetStyleFromComponent
in class StiBaseStyle
- Parameters:
component
- Component.
SetStyleToComponent
public void SetStyleToComponent(StiComponent component)
- Description copied from class:
StiBaseStyle
- Sets style to a component.
- Specified by:
SetStyleToComponent
in class StiBaseStyle
- Parameters:
component
- Component.
save
public void save(java.io.OutputStream stream)
load
public StiMapStyle load(java.io.InputStream stream)
throws java.io.IOException
- Throws:
java.io.IOException