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

revision 244 by alfonx, Wed Jul 29 09:33:33 2009 UTC revision 862 by alfonx, Sat May 22 01:24:46 2010 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 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  /**  /**
# 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
# Line 113  public interface MapContextManagerInterf Line 112  public interface MapContextManagerInterf
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  }  }

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26