|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapContextManagerInterface
Implementations of this class can can be used to fill/insert/remove a mapContext
with StyledLayerInterface
objects.
Method Summary | |
---|---|
void |
addMapLayerListListener(MapLayerListListener listener)
Add MapLayerListListener |
boolean |
addStyledLayer(StyledLayerInterface<?> styledLayer)
Add a StyledLayerInterface object into the underlying MapContext
as the topmost layer |
void |
dispose()
Help the GC by disposing this Component |
String |
getDescFor(MapLayer mapLayer)
Returns the description of the layer |
RasterLegendData |
getLegendMetaData(MapLayer mapLayer)
Returns the RasterLegendData object for the layer. |
MapContext |
getMapContext()
|
StyledLayerInterface<?> |
getStyledObjectFor(MapLayer layer)
Returns the StyledLayerInterface object that is associated with the layer or NULL if the layer can't be found. |
List<StyledLayerInterface<?>> |
getStyledObjects()
Returns a ordered list of the layers that are contained in the underlying MapContext |
String |
getTitleFor(MapLayer mapLayer)
Returns the title of the layer |
List<AttributeMetadata> |
getVisibleAttribsFor(MapLayer mapLayer)
Returns a list of AttributeMetadata that shall be shown (e.g. when the Mouse clicked into the map)
Returns an empty list if the layer doesn't exist or is not backed by a StyledFeatureCollectionInterface |
boolean |
insertStyledLayer(StyledLayerInterface<?> styledLayer,
int mapContextIdx)
Inserts a StyledLayerInterface object into the underlying MapContext
at the given position |
void |
removeMapLayerListListener(MapLayerListListener listener)
Remove MapLayerListListener |
boolean |
removeStyledLayer(int mapContextIdx)
|
Method Detail |
---|
boolean addStyledLayer(StyledLayerInterface<?> styledLayer)
StyledLayerInterface
object into the underlying MapContext
as the topmost layer
styledLayer
- Layer to add to the mapboolean removeStyledLayer(int mapContextIdx)
mapContextIdx
- Index in the MapContext
, bottom first
boolean insertStyledLayer(StyledLayerInterface<?> styledLayer, int mapContextIdx)
StyledLayerInterface
object into the underlying MapContext
at the given position
void addMapLayerListListener(MapLayerListListener listener)
MapLayerListListener
void removeMapLayerListListener(MapLayerListListener listener)
MapLayerListListener
void dispose()
List<StyledLayerInterface<?>> getStyledObjects()
MapContext
List<AttributeMetadata> getVisibleAttribsFor(MapLayer mapLayer)
AttributeMetadata
that shall be shown (e.g. when the Mouse clicked into the map)
Returns an empty list if the layer doesn't exist or is not backed by a StyledFeatureCollectionInterface
String getTitleFor(MapLayer mapLayer)
mapLayer
- MapLayer
null
, if the layer is unknownString getDescFor(MapLayer mapLayer)
mapLayer
- MapLayer
null
, if the layer is unknown. Empty String if the description is emptyRasterLegendData getLegendMetaData(MapLayer mapLayer)
RasterLegendData
object for the layer.
StyledLayerInterface<?> getStyledObjectFor(MapLayer layer)
StyledLayerInterface
object that is associated with the layer or NULL if the layer can't be found.
MapContext getMapContext()
MapContext
managed by this MapContextManagerInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |