public interface MapContextManager
MapContextDrawer
.Modifier and Type | Method and Description |
---|---|
MapContextDrawer |
createDefaultMapContextDrawerInstance()
Creates a new instance of the default
MapContextDrawer
implementation. |
IVectorLegend |
createDefaultVectorLegend(int shapeType) |
GraphicLayer |
createGraphicsLayer(org.cresques.cts.IProjection projection)
Create a layer to be used as the
GraphicLayer . |
FLayer |
createLayer(java.lang.String layerName,
org.gvsig.fmap.dal.DataStore store)
Create a layer from a
DataStore . |
FLayer |
createLayer(java.lang.String layerName,
org.gvsig.fmap.dal.DataStoreParameters parameters)
Create a new layer from the data parameters passed as parameter.
|
ILegend |
createLegend(java.lang.String legendName) |
ILegendReader |
createLegendReader(java.lang.String format) |
ILegendWriter |
createLegendWriter(java.lang.String legendName,
java.lang.String format) |
MapContextDrawer |
createMapContextDrawerInstance(java.lang.Class drawerClazz)
Creates a new instance of the provided
MapContextDrawer
implementation. |
org.cresques.cts.IProjection |
getDefaultCRS()
Returns the default CRS.
|
java.lang.String |
getIconLayer(org.gvsig.fmap.dal.DataStore store) |
ILabelingStrategy |
getLabelingStrategy(org.gvsig.fmap.dal.DataStore dataStore)
It returns the labeling strategy associated with a
DataStore . |
ILegend |
getLegend(org.gvsig.fmap.dal.DataStore dataStore)
It returns the legend associated with a
DataStore . |
SymbolManager |
getSymbolManager()
Returns the current
SymbolManager . |
void |
registerIconLayer(java.lang.String store,
java.lang.String iconName) |
void |
registerLegend(java.lang.String legendName,
java.lang.Class legendClass) |
void |
registerLegendReader(java.lang.String format,
java.lang.Class readerClass) |
void |
registerLegendWriter(java.lang.String legendName,
java.lang.String format,
java.lang.Class writerClass) |
void |
setDefaultMapContextDrawer(java.lang.Class drawerClazz)
Sets the class to use as the default implementation for the
MapContextDrawer . |
void |
setDefaultVectorLegend(java.lang.String legendName) |
void |
validateMapContextDrawer(java.lang.Class drawerClazz) |
MapContextDrawer createDefaultMapContextDrawerInstance() throws MapContextException
MapContextDrawer
implementation.MapContextDrawer
instanceMapContextException
- if there is an error creating the new object instanceIVectorLegend createDefaultVectorLegend(int shapeType) throws MapContextRuntimeException
MapContextRuntimeException
GraphicLayer createGraphicsLayer(org.cresques.cts.IProjection projection)
GraphicLayer
.projection
- used in the layer.GraphicLayer
.FLayer createLayer(java.lang.String layerName, org.gvsig.fmap.dal.DataStore store) throws LoadLayerException
DataStore
.layerName
- name used in for the new layer.store
- used for the new layerLoadLayerException
FLayer createLayer(java.lang.String layerName, org.gvsig.fmap.dal.DataStoreParameters parameters) throws LoadLayerException
layerName
- name used in for the new layer.parameters
- used for create the DataStore
of the new layerLoadLayerException
ILegend createLegend(java.lang.String legendName) throws MapContextRuntimeException
MapContextRuntimeException
ILegendReader createLegendReader(java.lang.String format) throws MapContextRuntimeException
MapContextRuntimeException
ILegendWriter createLegendWriter(java.lang.String legendName, java.lang.String format) throws MapContextException
MapContextException
MapContextDrawer createMapContextDrawerInstance(java.lang.Class drawerClazz) throws MapContextException
MapContextDrawer
implementation.drawerClazz
- the MapContextDrawer
implementation classMapContextDrawer
instanceMapContextException
- if there is an error creating the new object instanceorg.cresques.cts.IProjection getDefaultCRS()
java.lang.String getIconLayer(org.gvsig.fmap.dal.DataStore store)
ILabelingStrategy getLabelingStrategy(org.gvsig.fmap.dal.DataStore dataStore)
DataStore
.
If the labeling strategy doesn't exist it returns null
.dataStore
- the store that could have a labeling strategy.null
.ILegend getLegend(org.gvsig.fmap.dal.DataStore dataStore)
DataStore
.
If the legend doesn't exist it returns null
.dataStore
- the store that could have a legend.null
.SymbolManager getSymbolManager()
SymbolManager
.SymbolManager
void registerIconLayer(java.lang.String store, java.lang.String iconName)
void registerLegend(java.lang.String legendName, java.lang.Class legendClass) throws MapContextRuntimeException
MapContextRuntimeException
void registerLegendReader(java.lang.String format, java.lang.Class readerClass) throws MapContextRuntimeException
MapContextRuntimeException
void registerLegendWriter(java.lang.String legendName, java.lang.String format, java.lang.Class writerClass) throws MapContextRuntimeException
MapContextRuntimeException
void setDefaultMapContextDrawer(java.lang.Class drawerClazz) throws MapContextException
MapContextDrawer
.drawerClazz
- the MapContextDrawer
class to useMapContextException
- if there is any error setting the classvoid setDefaultVectorLegend(java.lang.String legendName)
void validateMapContextDrawer(java.lang.Class drawerClazz) throws MapContextException
MapContextException
Copyright © 2013 gvSIG Association. All rights reserved.