/[schmitzm]/trunk/src/skrueger/geotools/MapContextManagerInterface.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/MapContextManagerInterface.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/src/skrueger/geotools/MapContextManagerInterface.java revision 244 by alfonx, Wed Jul 29 09:33:33 2009 UTC branches/1.0-gt2-2.6/src/skrueger/geotools/MapContextManagerInterface.java revision 507 by alfonx, Mon Nov 2 16:37:03 2009 UTC
# Line 2  Line 2 
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:
# Line 35  import org.geotools.map.MapLayer; Line 35  import org.geotools.map.MapLayer;
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  /**  /**
# Line 67  public interface MapContextManagerInterf Line 67  public interface MapContextManagerInterf
67           */           */
68          boolean insertStyledLayer (StyledLayerInterface<?> styledLayer, int mapContextIdx);          boolean insertStyledLayer (StyledLayerInterface<?> styledLayer, int mapContextIdx);
69    
70          /** Add {@link MapLayerListener} */          /** Add {@link MapLayerListListener} */
71          void addMapLayerListListener( MapLayerListListener listener);          void addMapLayerListListener( MapLayerListListener listener);
72    
73          /** Remove {@link MapLayerListener} */          /** Remove {@link MapLayerListListener} */
74          void removeMapLayerListListener( MapLayerListListener listener);          void removeMapLayerListListener( MapLayerListListener listener);
75    
76          /**          /**
# Line 84  public interface MapContextManagerInterf Line 84  public interface MapContextManagerInterf
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
# Line 113  public interface MapContextManagerInterf Line 113  public interface MapContextManagerInterf
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  }  }

Legend:
Removed from v.244  
changed lines
  Added in v.507

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26