2 |
* Copyright (c) 2009 Martin O. J. Schmitz. |
* Copyright (c) 2009 Martin O. J. Schmitz. |
3 |
* |
* |
4 |
* This file is part of the SCHMITZM library - a collection of utility |
* This file is part of the SCHMITZM library - a collection of utility |
5 |
* classes based on Java 1.6, focussing (not only) on Java Swing |
* classes based on Java 1.6, focusing (not only) on Java Swing |
6 |
* and the Geotools library. |
* and the Geotools library. |
7 |
* |
* |
8 |
* The SCHMITZM project is hosted at: |
* The SCHMITZM project is hosted at: |
35 |
import org.geotools.map.event.MapLayerListListener; |
import org.geotools.map.event.MapLayerListListener; |
36 |
import org.geotools.map.event.MapLayerListener; |
import org.geotools.map.event.MapLayerListener; |
37 |
|
|
38 |
import skrueger.AttributeMetaData; |
import skrueger.AttributeMetadata; |
39 |
import skrueger.RasterLegendData; |
import skrueger.RasterLegendData; |
40 |
|
|
41 |
/** |
/** |
84 |
List<StyledLayerInterface<?>> getStyledObjects(); |
List<StyledLayerInterface<?>> getStyledObjects(); |
85 |
|
|
86 |
/** |
/** |
87 |
* 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) |
88 |
* 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} |
89 |
*/ |
*/ |
90 |
List<AttributeMetaData> getVisibleAttribsFor(MapLayer mapLayer); |
List<AttributeMetadata> getVisibleAttribsFor(MapLayer mapLayer); |
91 |
|
|
92 |
/** |
/** |
93 |
* Returns the title of the layer |
* Returns the title of the layer |
113 |
* 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. |
114 |
*/ |
*/ |
115 |
StyledLayerInterface<?> getStyledObjectFor(MapLayer layer); |
StyledLayerInterface<?> getStyledObjectFor(MapLayer layer); |
116 |
|
|
117 |
|
/** |
118 |
|
* @return The {@link MapContext} managed by this {@link MapContextManagerInterface} |
119 |
|
*/ |
120 |
|
MapContext getMapContext(); |
121 |
|
|
122 |
} |
} |