|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.eng.spagobi.engines.geo.AbstractGeoEngineComponent
it.eng.spagobi.engines.geo.map.renderer.AbstractMapRenderer
it.eng.spagobi.engines.geo.map.renderer.InteractiveMapRenderer
public class InteractiveMapRenderer
The Class InteractiveMapRenderer.
| Field Summary | |
|---|---|
static org.apache.log4j.Logger |
logger
Logger component. |
| Constructor Summary | |
|---|---|
InteractiveMapRenderer()
Instantiates a new interactive map renderer. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getGradientColourRange(java.lang.String base_color,
int num_group)
Gets the gradient colour range. |
org.json.JSONObject |
getGUIConfigurationScript()
Gets the gUI configuration script. |
org.json.JSONArray |
getLayersConfigurationScript(org.w3c.dom.svg.SVGDocument doc)
Gets the layers configuration script. |
org.json.JSONArray |
getMeasuresConfigurationScript(DataMart datamart)
Gets the measures configuration script. |
java.io.File |
getTempFile()
Gets the temporary file. |
void |
init(java.lang.Object conf)
Inits the. |
java.io.File |
renderMap(IMapProvider mapProvider,
IDataMartProvider datamartProvider)
Render map. |
java.io.File |
renderMap(IMapProvider mapProvider,
IDataMartProvider datamartProvider,
java.lang.String outputFormat)
Render map. |
void |
setMainMapBkgRectDimension(org.w3c.dom.svg.SVGDocument masterMap,
org.w3c.dom.svg.SVGDocument targetMap)
Sets the main map bkg rect dimension. |
void |
setMainMapDimension(org.w3c.dom.svg.SVGDocument masterMap,
org.w3c.dom.svg.SVGDocument targetMap)
Sets the main map dimension. |
| Methods inherited from class it.eng.spagobi.engines.geo.map.renderer.AbstractMapRenderer |
|---|
addLayer, clearLayers, getColoursArray, getGuiSettings, getLayer, getLayerNames, getMeasure, getSelectedMeasureName, getTresholdsArray, setGuiSettings, setLayers, setMeasures, setSelectedMeasureName |
| Methods inherited from class it.eng.spagobi.engines.geo.AbstractGeoEngineComponent |
|---|
getConf, getEnv, setEnv |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface it.eng.spagobi.engines.geo.IGeoEngineComponent |
|---|
setEnv |
| Field Detail |
|---|
public static transient org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public InteractiveMapRenderer()
| Method Detail |
|---|
public void init(java.lang.Object conf)
throws GeoEngineException
IGeoEngineComponent
init in interface IGeoEngineComponentinit in class AbstractMapRendererconf - the conf
GeoEngineException - the geo engine exception
public java.io.File renderMap(IMapProvider mapProvider,
IDataMartProvider datamartProvider)
throws GeoEngineException
IMapRenderer
renderMap in interface IMapRendererrenderMap in class AbstractMapRenderermapProvider - the map providerdatamartProvider - the datamart provider
GeoEngineException - the geo engine exception
public java.io.File renderMap(IMapProvider mapProvider,
IDataMartProvider datamartProvider,
java.lang.String outputFormat)
throws GeoEngineException
IMapRenderer
renderMap in interface IMapRendererrenderMap in class AbstractMapRenderermapProvider - the map providerdatamartProvider - the datamart provideroutputFormat - the output format
GeoEngineException - the geo engine exception
public java.lang.String[] getGradientColourRange(java.lang.String base_color,
int num_group)
base_color - the base_colornum_group - the num_group
public void setMainMapDimension(org.w3c.dom.svg.SVGDocument masterMap,
org.w3c.dom.svg.SVGDocument targetMap)
masterMap - the master maptargetMap - the target map
public void setMainMapBkgRectDimension(org.w3c.dom.svg.SVGDocument masterMap,
org.w3c.dom.svg.SVGDocument targetMap)
masterMap - the master maptargetMap - the target map
public org.json.JSONArray getMeasuresConfigurationScript(DataMart datamart)
throws org.json.JSONException
datamart - the datamart
org.json.JSONException
public org.json.JSONArray getLayersConfigurationScript(org.w3c.dom.svg.SVGDocument doc)
throws org.json.JSONException
doc - the doctargetLayer - the target layer
org.json.JSONException
public java.io.File getTempFile()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.
public org.json.JSONObject getGUIConfigurationScript()
throws org.json.JSONException
org.json.JSONException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||