25 |
* |
* |
26 |
* Contributors: |
* Contributors: |
27 |
* Martin O. J. Schmitz - initial API and implementation |
* Martin O. J. Schmitz - initial API and implementation |
28 |
* Stefan A. Krüger - additional utility classes |
* Stefan A. Tzeggai - additional utility classes |
29 |
******************************************************************************/ |
******************************************************************************/ |
30 |
package skrueger.geotools; |
package skrueger.geotools; |
31 |
import java.util.List; |
import java.util.List; |
34 |
import org.geotools.map.MapLayer; |
import org.geotools.map.MapLayer; |
35 |
import org.geotools.map.event.MapLayerListListener; |
import org.geotools.map.event.MapLayerListListener; |
36 |
|
|
37 |
import skrueger.AttributeMetadata; |
import skrueger.AttributeMetadataImpl; |
38 |
import skrueger.RasterLegendData; |
import skrueger.RasterLegendData; |
39 |
|
|
40 |
/** |
/** |
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 AttributeMetadataImpl} 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<AttributeMetadataImpl> getVisibleAttribsFor(MapLayer mapLayer); |
90 |
|
|
91 |
/** |
/** |
92 |
* Returns the title of the layer |
* Returns the title of the layer |