33 |
import org.geotools.map.MapContext; |
import org.geotools.map.MapContext; |
34 |
import org.geotools.map.MapLayer; |
import org.geotools.map.MapLayer; |
35 |
import org.geotools.map.event.MapLayerListListener; |
import org.geotools.map.event.MapLayerListListener; |
|
import org.geotools.map.event.MapLayerListener; |
|
36 |
|
|
37 |
import skrueger.AttributeMetaData; |
import skrueger.AttributeMetadata; |
38 |
import skrueger.RasterLegendData; |
import skrueger.RasterLegendData; |
39 |
|
|
40 |
/** |
/** |
66 |
*/ |
*/ |
67 |
boolean insertStyledLayer (StyledLayerInterface<?> styledLayer, int mapContextIdx); |
boolean insertStyledLayer (StyledLayerInterface<?> styledLayer, int mapContextIdx); |
68 |
|
|
69 |
/** Add {@link MapLayerListener} */ |
/** Add {@link MapLayerListListener} */ |
70 |
void addMapLayerListListener( MapLayerListListener listener); |
void addMapLayerListListener( MapLayerListListener listener); |
71 |
|
|
72 |
/** Remove {@link MapLayerListener} */ |
/** Remove {@link MapLayerListListener} */ |
73 |
void removeMapLayerListListener( MapLayerListListener listener); |
void removeMapLayerListListener( MapLayerListListener listener); |
74 |
|
|
75 |
/** |
/** |
83 |
List<StyledLayerInterface<?>> getStyledObjects(); |
List<StyledLayerInterface<?>> getStyledObjects(); |
84 |
|
|
85 |
/** |
/** |
86 |
* Returns a list of {@link AttributeMetaData} that shall be shown (e.g. when the Mouse clicked into the map) |
* Returns a list of {@link AttributeMetadata} that shall be shown (e.g. when the Mouse clicked into the map) |
87 |
* Returns an empty list if the layer doesn't exist or is not backed by a {@link StyledFeatureCollectionInterface} |
* Returns an empty list if the layer doesn't exist or is not backed by a {@link StyledFeatureCollectionInterface} |
88 |
*/ |
*/ |
89 |
List<AttributeMetaData> getVisibleAttribsFor(MapLayer mapLayer); |
List<AttributeMetadata> getVisibleAttribsFor(MapLayer mapLayer); |
90 |
|
|
91 |
/** |
/** |
92 |
* Returns the title of the layer |
* Returns the title of the layer |
112 |
* Returns the {@link StyledLayerInterface} object that is associated with the layer or NULL if the layer can't be found. |
* Returns the {@link StyledLayerInterface} object that is associated with the layer or NULL if the layer can't be found. |
113 |
*/ |
*/ |
114 |
StyledLayerInterface<?> getStyledObjectFor(MapLayer layer); |
StyledLayerInterface<?> getStyledObjectFor(MapLayer layer); |
115 |
|
|
116 |
|
/** |
117 |
|
* @return The {@link MapContext} managed by this {@link MapContextManagerInterface} |
118 |
|
*/ |
119 |
|
MapContext getMapContext(); |
120 |
|
|
121 |
} |
} |