/[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

branches/1.0-gt2-2.6/src/skrueger/geotools/MapContextManagerInterface.java revision 464 by alfonx, Tue Oct 13 13:22:31 2009 UTC trunk/src/skrueger/geotools/MapContextManagerInterface.java revision 888 by alfonx, Thu Jun 3 10:48:43 2010 UTC
# Line 25  Line 25 
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;
# Line 33  import java.util.List; Line 33  import java.util.List;
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.AttributeMetadataImpl;
38  import skrueger.RasterLegendData;  import skrueger.RasterLegendData;
39    
40  /**  /**
41   * Implementations of this class can can be used to fill/insert/remove a mapContext   * Implementations of this class can can be used to fill/insert/remove a mapContext
42   * with {@link StyledLayerInterface} objects.   * with {@link StyledLayerInterface} objects.
43   *   *
44   * @author <a href="mailto:[email protected]">Stefan Alfons Kr&uuml;ger</a>   * @author <a href="mailto:[email protected]">Stefan Alfons Tzeggai</a>
45   *   *
46   */   */
47  public interface MapContextManagerInterface {  public interface MapContextManagerInterface {
# Line 67  public interface MapContextManagerInterf Line 66  public interface MapContextManagerInterf
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          /**          /**
# Line 84  public interface MapContextManagerInterf Line 83  public interface MapContextManagerInterf
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

Legend:
Removed from v.464  
changed lines
  Added in v.888

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26