Package com.stimulsoft.report.maps
Class StiMap
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,IStiBorder,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,IStiExportImage,IStiExportImageExtended,IStiGrowToHeight,IStiInteraction,IStiPrintOn,IStiSelect,IStiShift,IStiUnitConvert,IStiReportProperty,IStiInherited,IStiStateSaveRestore,Cloneable
Copyright Stimulsoft
-
Field Summary
FieldsFields inherited from class com.stimulsoft.report.components.StiComponent
canGrow, canShrink, componentPlacement, conditions, currentPointer, eventFlags, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, PropertyComponentStyle, PropertyDelimiterComponent, PropertyDockable, PropertyInherited, PropertyLinked, PropertyLocked, PropertyMaxSize, PropertyMinSize, PropertyPlaceOnToolbox, PropertyRenderedCount, PropertyRestrictions, PropertySelectionTick, PropertyShowQuickButtons, PropertyUseParentStyles, top, widthFields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(boolean cloneProperties) Creates a new object that is a copy of the current instanc.frame of the component.getBrush()a brush to fill a component.booleangets or sets a value which indicates that this object can grow.booleangets or sets value which indicates that this object can shrink.gets or sets the client area of a component.a name of the column that contains the values.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.gets the default client area of a component.static List<StiMapData> getDefaultMapData(StiMapID mapID) a name of the column that contains the values.booleangets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container.getImage(double zoom) getImage(double zoom, StiExportFormat format) a name of the column that contains the values.Gets a localized name of the component category.Gets a localized component name.static List<StiMapData> getMapDataInternal(String mapData, StiMapID mapID) static List<StiMapData> getMapDataInternal(String mapData, StiMapID mapID, StiRefObject<Boolean> isHashDataEmpty) getMapID()static StiMapStylegetMapStyle(StiMapStyleIdent style) static StiMapStylegetMapStyle(StiMap map) a name of the column that contains the values.intgetStyleColors(StiMapStyleIdent style) booleangets or sets a value which indicates that this component must use styles from parent component.a name of the column that contains the values.booleanbooleanisExportAsImage(StiExportFormat format) booleanbooleanbooleanbooleanbooleanvoidLoadFromJsonObject(JSONObject jObject) voidvoida brush to fill a component.voidsetClientRectangle(StiRectangle value) voidsetColorDataColumn(String colorDataColumn) a name of the column that contains the values."voidsetColorEach(boolean colorEach) voidsetDataColumnColor(String value) Deprecated.voidsetDataColumnGroup(String value) Deprecated.voidsetDataColumnKey(String value) Deprecated.voidsetDataColumnName(String value) Deprecated.voidsetDataColumnValue(String value) Deprecated.voidsetDataFrom(StiMapSource dataFrom) voidsetDisplayNameType(StiDisplayNameType displayNameType) voidsetGroupDataColumn(String groupDataColumn) a name of the column that contains the values.voidsetKeyDataColumn(String keyDataColumn) a name of the column that contains the values.voidsetLatitude(String latitude) voidsetLongitude(String longitude) voidsetMapData(String value) voidvoidsetMapMode(StiMapMode mapMode) voidsetMapStyle(StiMapStyleIdent mapStyle) voidsetMapType(StiMapType mapType) voidsetNameDataColumn(String nameDataColumn) a name of the column that contains the values.voidsetOnePointZoom(int onePointZoom) voidvoidsetShortValue(boolean shortValue) voidsetShowLegend(boolean showLegend) voidsetShowValue(boolean showValue) voidsetStretch(boolean stretch) voidsetValueDataColumn(String valueDataColumn) a name of the column that contains the values.Methods inherited from class com.stimulsoft.report.components.StiComponent
addSize, AllowPrintOn, applyConditions, canContainIn, CheckForParentComponent, clearAllStates, ClearAllStates, ClearContents, clone, ComponentToPage, ComponentToPage, ComponentToPage, convert, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, doPointer, doPointer, fillComponentPlacement, getActualSize, getAfterPrintEvent, getAlias, getAllowDelete, getAnchor, getBeforePrintEvent, getBookmark, getBookmarkValue, getBottom, getBuilder, getClickEvent, getComponentPlacement, getComponentStyle, GetComponentStyle, getComponentType, getConditions, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDockStyle, getDoubleClickEvent, getDrillDownParameters, getEnabled, getEvents, getExpressions, getForceRedrawAll, getGetBookmarkEvent, getGetDrillDownReportEvent, getGetHyperlinkEvent, getGetTagEvent, getGetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, getGuid, getHeight, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInteraction, getInvalidateOnMouseOver, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, getIsRendered, getIsSelected, getLeft, getLevel, getLinked, getLocked, getMaxSize, getMeasureGraphics, getMinSize, getMouseEnterEvent, getMouseLeaveEvent, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPointer, getPointerValue, getPrintable, getPrintOn, getPriority, getQuickInfo, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getSelectRectangle, getServiceCategory, getServiceType, getShift, getShiftMode, getShowQuickButtons, getStates, getTag, getTagStrValue, getTagValue, getToolboxPosition, getToolTip, getToolTipValue, getTop, getWidth, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, invokeBlockly, InvokeClick, InvokeDoubleClick, InvokeEndRender, invokeEvents, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, invokeScript, invokeScript, invokeScript, isAutomaticDock, isDesigning, IsParentSelect, NewGuid, OnAfterPrint, OnBeforePrint, OnClick, OnDoubleClick, OngetBookmark, OngetDrillDownReport, OngetHyperlink, OngetTag, OngetToolTip, OnMouseEnter, OnMouseLeave, OnPainted, OnPainting, OnRemoveComponent, packService, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, RestoreState, saveState, select, setAfterPrintEvent, setAlias, setAnchor, setBeforePrintEvent, setBookmark, setBookmarkValue, setCanGrow, setCanShrink, setClickEvent, setComponentPlacement, setComponentStyle, setConditions, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDockStyle, setDoubleClickEvent, setDrillDownParameters, setEnabled, setExpressions, setGetBookmarkEvent, setGetDrillDownReportEvent, setGetHyperlinkEvent, setGetTagEvent, setGetToolTipEvent, setGrowToHeight, setGuid, setHeight, setHeightProp, setHighlightState, setHyperlink, setHyperlinkValue, setIgnoreNamingRule, setInherited, setInteraction, setIsRendered, setIsSelected, setLeft, setLeftProp, setLinked, setLocked, setMaxSize, setMinSize, setMouseEnterEvent, setMouseLeaveEvent, setName, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPointer, setPointerValue, setPrintable, setPrintOn, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setSelectRectangle, setShift, setShiftMode, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTop, setTopProp, setUseParentStyles, setWidth, setWidthProp, toString, UnPrepareMethods inherited from class com.stimulsoft.report.StiBase
getName, getServiceNameMethods inherited from class com.stimulsoft.base.services.StiService
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReferenceMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage
getImageMethods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended
getImage
-
Field Details
-
border
-
keyDataColumn
-
isHashDataEmpty
public boolean isHashDataEmpty
-
-
Constructor Details
-
StiMap
public StiMap() -
StiMap
Creates a new StiGauge.- Parameters:
rect- The rectangle describes size and position of the component.
-
-
Method Details
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiComponent- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiComponent- Throws:
JSONException
-
clone
Description copied from class:StiComponentCreates a new object that is a copy of the current instanc.- Overrides:
clonein classStiComponent- Returns:
- A new object that is a copy of this instance.
-
getImage
-
getImage
-
isExportAsImage
- Specified by:
isExportAsImagein interfaceIStiExportImageExtended- Overrides:
isExportAsImagein classStiComponent
-
getBorder
frame of the component.- Specified by:
getBorderin interfaceIStiBorder- Returns:
- the border
-
setBorder
- Specified by:
setBorderin interfaceIStiBorder- Parameters:
border- the border to set
-
getLocalizedCategory
Gets a localized name of the component category.- Overrides:
getLocalizedCategoryin classStiBase
-
getLocalizedName
Description copied from class:StiBaseGets a localized component name.- Overrides:
getLocalizedNamein classStiBase
-
getDefaultClientRectangle
Description copied from class:StiComponentgets the default client area of a component.- Overrides:
getDefaultClientRectanglein classStiComponent
-
getClientRectangle
Description copied from class:StiComponentgets or sets the client area of a component.- Overrides:
getClientRectanglein classStiComponent
-
setClientRectangle
- Overrides:
setClientRectanglein classStiComponent
-
getDataColumnKey
Deprecated.Please use property KeyDataColumn- Returns:
-
setDataColumnKey
Deprecated.Please use property KeyDataColumn- Parameters:
value-
-
getDataColumnName
Deprecated.Please use property NameDataColumn- Returns:
-
setDataColumnName
Deprecated.Please use property NameDataColumn- Parameters:
value-
-
getDataColumnValue
Deprecated.Please use property ValueDataColumn- Returns:
-
setDataColumnValue
Deprecated.Please use property ValueDataColumn- Parameters:
value-
-
getDataColumnGroup
Deprecated.Please use property GroupDataColumn- Returns:
-
setDataColumnGroup
Deprecated.Please use property GroupDataColumn- Parameters:
value-
-
getDataColumnColor
Deprecated.Please use property ColorDataColumn- Returns:
-
setDataColumnColor
Deprecated.Please use property ColorDataColumn -
isShortValue
public boolean isShortValue()- Returns:
- the shortValue
-
setShortValue
public void setShortValue(boolean shortValue) - Parameters:
shortValue- the shortValue to set
-
getPoints
-
setPoints
-
getBrush
a brush to fill a component.- Returns:
- the brush
-
setBrush
a brush to fill a component.- Parameters:
brush- the brush to set
-
getMapStyle
- Returns:
- the mapStyle
-
setMapStyle
- Parameters:
mapStyle- the mapStyle to set
-
getDataFrom
- Returns:
- the dataFrom
-
setDataFrom
- Parameters:
dataFrom- the dataFrom to set
-
isStretch
public boolean isStretch()- Returns:
- the stretch
-
setStretch
public void setStretch(boolean stretch) - Parameters:
stretch- the stretch to set
-
getOnePointZoom
public int getOnePointZoom() -
setOnePointZoom
public void setOnePointZoom(int onePointZoom) -
isColorEach
public boolean isColorEach()- Returns:
- the colorEach
-
setColorEach
public void setColorEach(boolean colorEach) - Parameters:
colorEach- the colorEach to set
-
isShowValue
public boolean isShowValue()- Returns:
- the showValue
-
setShowValue
public void setShowValue(boolean showValue) - Parameters:
showValue- the showValue to set
-
getMapID
- Returns:
- the mapID
-
setMapID
- Parameters:
mapID- the mapID to set
-
isShowLegend
public boolean isShowLegend()- Returns:
- the showLegend
-
setShowLegend
public void setShowLegend(boolean showLegend) - Parameters:
showLegend- the showLegend to set
-
getDisplayNameType
- Returns:
- the displayNameType
-
setDisplayNameType
- Parameters:
displayNameType- the displayNameType to set
-
getMapType
- Returns:
- the mapType
-
setMapType
- Parameters:
mapType- the mapType to set
-
getMapData
- Returns:
- the mapData
-
setMapData
- Parameters:
mapData- the mapData to set
-
getKeyDataColumn
a name of the column that contains the values.- Returns:
- the keyDataColumn
-
setKeyDataColumn
a name of the column that contains the values.- Parameters:
keyDataColumn- the keyDataColumn to set
-
getNameDataColumn
a name of the column that contains the values.- Returns:
- the nameDataColumn
-
setNameDataColumn
a name of the column that contains the values.- Parameters:
nameDataColumn- the nameDataColumn to set
-
getValueDataColumn
a name of the column that contains the values.- Returns:
- the valueDataColumn
-
setValueDataColumn
a name of the column that contains the values.- Parameters:
valueDataColumn- the valueDataColumn to set
-
getGroupDataColumn
a name of the column that contains the values.- Returns:
- the groupDataColumn
-
setGroupDataColumn
a name of the column that contains the values.- Parameters:
groupDataColumn- the groupDataColumn to set
-
getColorDataColumn
a name of the column that contains the values.- Returns:
- the colorDataColumn
-
setColorDataColumn
a name of the column that contains the values."- Parameters:
colorDataColumn- the colorDataColumn to set
-
getLatitude
- Returns:
- the latitude
-
setLatitude
- Parameters:
latitude- the latitude to set
-
getLongitude
- Returns:
- the longitude
-
setLongitude
- Parameters:
longitude- the longitude to set
-
isHashDataEmpty
public boolean isHashDataEmpty()- Returns:
- the isHashDataEmpty
-
getMapMode
- Returns:
- the mapMode
-
setMapMode
- Parameters:
mapMode- the mapMode to set
-
getUseParentStyles
public boolean getUseParentStyles()Description copied from class:StiComponentgets or sets a value which indicates that this component must use styles from parent component.- Overrides:
getUseParentStylesin classStiComponent
-
getCanGrow
public boolean getCanGrow()Description copied from class:StiComponentgets or sets a value which indicates that this object can grow.- Specified by:
getCanGrowin interfaceIStiCanGrow- Overrides:
getCanGrowin classStiComponent
-
getCanShrink
public boolean getCanShrink()Description copied from class:StiComponentgets or sets value which indicates that this object can shrink.- Specified by:
getCanShrinkin interfaceIStiCanShrink- Overrides:
getCanShrinkin classStiComponent
-
getGrowToHeight
public boolean getGrowToHeight()Description copied from class:StiComponentgets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container.- Specified by:
getGrowToHeightin interfaceIStiGrowToHeight- Overrides:
getGrowToHeightin classStiComponent
-
createNew
-
getMapDataInternal
public static List<StiMapData> getMapDataInternal(String mapData, StiMapID mapID) throws UnsupportedEncodingException, JSONException, IOException -
getDefaultMapData
public static List<StiMapData> getDefaultMapData(StiMapID mapID) throws UnsupportedEncodingException, IOException, JSONException -
getMapDataInternal
public static List<StiMapData> getMapDataInternal(String mapData, StiMapID mapID, StiRefObject<Boolean> isHashDataEmpty) throws JSONException, UnsupportedEncodingException, IOException -
GetMapData
public List<StiMapData> GetMapData() throws UnsupportedEncodingException, JSONException, IOException -
getCurrentStyleColors
-
getStyleColors
-
getStyleBackground
-
getMapStyle
-
getMapStyle
-