public class StiMapStyle extends StiBaseStyle
StiBaseStyle.StiStyleSaver| Modifier and Type | Field and Description |
|---|---|
StiColor |
individualColor |
reportREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, getCollectionName, getConditions, getDescription, getName, getStyle, getStyle, getStyle, getStyle, GetStyleFromComponents, LoadFromJsonObject, loadStyleFromString, SaveToJsonObject, saveToString, setCollectionName, setConditions, setDescription, setName, toStringcleanReference, getReference, setReferencepublic StiColor individualColor
public StiMapStyle(java.lang.String name,
java.lang.String description,
StiReport report)
name - Style name.description - Style description.report - public StiMapStyle(java.lang.String name,
java.lang.String description)
name - Style name.description - Style description.public StiMapStyle(java.lang.String name)
name - Style name.public StiMapStyle()
public StiComponentId getComponentId()
public StiColor getIndividualColor()
public void setIndividualColor(StiColor individualColor)
individualColor - the individualColor to setpublic java.util.List<StiColor> getColors()
public void setColors(java.util.List<StiColor> colors)
colors - the colors to setpublic java.util.List<StiColor> getHeatmapColors()
public void setHeatmapColors(java.util.List<StiColor> heatmapColors)
heatmapColors - the heatmapColors to setpublic StiColor getDefaultColor()
public void setDefaultColor(StiColor defaultColor)
defaultColor - the defaultColor to setpublic StiColor getBackColor()
public void setBackColor(StiColor backColor)
backColor - the backColor to setpublic StiColor getForeColor()
public void setForeColor(StiColor foreColor)
foreColor - the foreColor to setpublic double getBorderSize()
public void setBorderSize(double borderSize)
borderSize - the borderSize to setpublic StiColor getBorderColor()
public void setBorderColor(StiColor borderColor)
borderColor - the borderColor to setpublic void drawStyle(StiGraphics g, StiRectangle rect, boolean paintValue, boolean paintImage, double zoom, double pageZoom) throws java.io.IOException
java.io.IOExceptionpublic void drawBox(StiGraphics g, StiRectangle rect, boolean paintValue, boolean paintImage, double zoom, double pageZoom) throws java.io.IOException
java.io.IOExceptionpublic void GetStyleFromComponent(StiComponent component, StiStyleElements styleElements)
StiBaseStyleGetStyleFromComponent in class StiBaseStylecomponent - Component.public void SetStyleToComponent(StiComponent component)
StiBaseStyleSetStyleToComponent in class StiBaseStylecomponent - Component.public void save(java.io.OutputStream stream)
public StiMapStyle load(java.io.InputStream stream) throws java.io.IOException
java.io.IOExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.