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

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

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

branches/2.0-RC1/src/skrueger/geotools/StyledLayerInterface.java revision 615 by alfonx, Mon Dec 14 17:31:41 2009 UTC trunk/src/skrueger/geotools/StyledLayerInterface.java revision 1228 by alfonx, Wed Nov 3 20:44:16 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    
# Line 34  import java.net.URL; Line 34  import java.net.URL;
34  import javax.swing.ImageIcon;  import javax.swing.ImageIcon;
35    
36  import org.geotools.feature.FeatureCollection;  import org.geotools.feature.FeatureCollection;
37    import org.geotools.geometry.jts.ReferencedEnvelope;
38  import org.geotools.styling.Style;  import org.geotools.styling.Style;
39  import org.opengis.referencing.crs.CoordinateReferenceSystem;  import org.opengis.referencing.crs.CoordinateReferenceSystem;
40    
41  import skrueger.AttributeMetadata;  import skrueger.AttributeMetadataImpl;
42    import skrueger.AttributeMetadataInterface;
43  import skrueger.RasterLegendData;  import skrueger.RasterLegendData;
44  import skrueger.i8n.Translation;  import skrueger.i8n.Translation;
45    
# Line 85  import com.vividsolutions.jts.geom.Envel Line 87  import com.vividsolutions.jts.geom.Envel
87   * <ul>   * <ul>
88   * <li>layer list only depends on {@link StyledLayerInterface}</li>   * <li>layer list only depends on {@link StyledLayerInterface}</li>
89   * <li>methods returning {@link Translation} must not return {@code null}</li>   * <li>methods returning {@link Translation} must not return {@code null}</li>
90   * <li>methods returning {@link AttributeMetadata}-Map must not return {@code   * <li>methods returning {@link AttributeMetadataInterface}-Map must not return {@code
91   * null}</li>   * null}</li>
92   * <li>static helper method to get a new {@link AttributeMetadata}-map withe the   * <li>static helper method to get a new {@link AttributeMetadataImpl}-map with the
93   * visible attributes only</li>   * visible attributes only</li>
94   * <li>static helper method to create a "default" {@link AttributeMetadata}-map   * <li>static helper method to create a "default" {@link AttributeMetadataImpl}-map
95   * for a {@link FeatureCollection} with all attributes visible and without real   * for a {@link FeatureCollection} with all attributes visible and without real
96   * translations, but the attribute name as description.</li>   * translations, but the attribute name as description.</li>
97   * </ul>   * </ul>
# Line 116  public interface StyledLayerInterface<E> Line 118  public interface StyledLayerInterface<E>
118          public Envelope getEnvelope();          public Envelope getEnvelope();
119    
120          /**          /**
121             * @return <code>null</code> is no CRS is available
122             */
123            public ReferencedEnvelope getReferencedEnvelope();
124    
125    
126            /**
127           * @return return an ImageIcon - <code>null</code> is valid and no icon or a           * @return return an ImageIcon - <code>null</code> is valid and no icon or a
128           *         default icon will then be shown           *         default icon will then be shown
129           */           */
# Line 156  public interface StyledLayerInterface<E> Line 164  public interface StyledLayerInterface<E>
164           * reread on next call of getGeoObject()           * reread on next call of getGeoObject()
165           */           */
166          public void uncache();          public void uncache();
167    //      public String getLegendHtml();
   
168  }  }

Legend:
Removed from v.615  
changed lines
  Added in v.1228

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26