|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.engines.geo.component.AbstractGeoEngineComponent
it.eng.spagobi.engines.geo.map.renderer.AbstractMapRenderer
it.eng.spagobi.engines.geo.map.renderer.InteractiveMapRenderer
public class InteractiveMapRenderer
Field Summary | |
---|---|
static org.apache.log4j.Logger |
logger
Logger component. |
Constructor Summary | |
---|---|
InteractiveMapRenderer()
|
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)
|
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.component.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.component.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 IGeoEngineComponent
init
in class AbstractMapRenderer
conf
- the conf
GeoEngineException
- the geo engine exceptionpublic java.io.File renderMap(IMapProvider mapProvider, IDataMartProvider datamartProvider) throws GeoEngineException
IMapRenderer
renderMap
in interface IMapRenderer
renderMap
in class AbstractMapRenderer
mapProvider
- the map providerdatamartProvider
- the datamart provider
GeoEngineException
- the geo engine exceptionpublic java.io.File renderMap(IMapProvider mapProvider, IDataMartProvider datamartProvider, java.lang.String outputFormat) throws GeoEngineException
IMapRenderer
renderMap
in interface IMapRenderer
renderMap
in class AbstractMapRenderer
mapProvider
- the map providerdatamartProvider
- the datamart provideroutputFormat
- the output format
GeoEngineException
- the geo engine exceptionpublic 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)
public void setMainMapBkgRectDimension(org.w3c.dom.svg.SVGDocument masterMap, org.w3c.dom.svg.SVGDocument targetMap)
masterMap
- the master maptargetMap
- the target mappublic 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 |