/[schmitzm]/branches/2.0-GP14/src/skrueger/geotools/StyledLayerInterface.java
ViewVC logotype

Diff of /branches/2.0-GP14/src/skrueger/geotools/StyledLayerInterface.java

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

revision 2 by mojays, Tue Feb 24 22:43:52 2009 UTC revision 40 by alfonx, Mon Apr 6 19:31:02 2009 UTC
# Line 29  import skrueger.RasterLegendData; Line 29  import skrueger.RasterLegendData;
29   * <li>{@link #getKeywords() get/setKeywords()} -> {@link Translation}</li>   * <li>{@link #getKeywords() get/setKeywords()} -> {@link Translation}</li>
30   * <li>{@link #getTitle() set/getTitle()} -> {@link Translation} (short   * <li>{@link #getTitle() set/getTitle()} -> {@link Translation} (short
31   * description for layer list)</li>   * description for layer list)</li>
32   * <li>{@link #getDesc() set/getDesc()} -> {@link Translation} (long   * <li>{@link #getDesc() set/getDesc()} -> {@link Translation} (long description
33   * description for details)</li>   * for details)</li>
34   * <li>{@link #getCrs()} -> {@link CoordinateReferenceSystem}</li>   * <li>{@link #getCrs()} -> {@link CoordinateReferenceSystem}</li>
35   * <li>{@link #getCRSString()} -> String (readable description of CRS)</li>   * <li>{@link #getCRSString()} -> String (readable description of CRS)</li>
36   * <li>{@link #getEnvelope()} -> {@link Envelope} (JTS-Envelope)</li>   * <li>{@link #getEnvelope()} -> {@link Envelope} (JTS-Envelope)</li>
37   * <li>{@link #getGeoObject()} -> E (GridCoverage/FeatureCollection/...)</li>   * <li>{@link #getGeoObject()} -> E (GridCoverage/FeatureCollection/...)</li>
38   * <li>{@link #getStyle() set/getStyle()} -> {@link Style}</li>   * <li>{@link #getStyle() set/getStyle()} -> {@link Style}</li>
  * <li>{@link #isHideInLegend()} -> Boolean</li> *  
39   * <li>{@link #uncache()}</li>   * <li>{@link #uncache()}</li>
40   * <li>{@link #dispose()}</li>   * <li>{@link #dispose()}</li>
41   * </ul>   * </ul>
# Line 48  import skrueger.RasterLegendData; Line 47  import skrueger.RasterLegendData;
47   * Map<Integer,AttributeMetaData></li>   * Map<Integer,AttributeMetaData></li>
48   * </ul>   * </ul>
49   * </li>   * </li>
50   * <li><b>{@link StyledRasterInterface} extends   * <li><b>{@link StyledRasterInterface} extends {@link StyledMapInterface
51   * {@link StyledMapInterface StyledMapInterface<GridCoverage2D>}</b>   * StyledMapInterface<GridCoverage2D>}</b>
52   * <ul>   * <ul>
53   * <li>{@link StyledRasterInterface#getLegendMetaData()} ->   * <li>{@link StyledRasterInterface#getLegendMetaData()} ->
54   * {@link RasterLegendData}</li>   * {@link RasterLegendData}</li>
# Line 61  import skrueger.RasterLegendData; Line 60  import skrueger.RasterLegendData;
60   * <ul>   * <ul>
61   * <li>layer list only depends on {@link StyledMapInterface}</li>   * <li>layer list only depends on {@link StyledMapInterface}</li>
62   * <li>methods returning {@link Translation} must not return {@code null}</li>   * <li>methods returning {@link Translation} must not return {@code null}</li>
63   * <li>methods returning {@link AttributeMetaData}-Map must not return   * <li>methods returning {@link AttributeMetaData}-Map must not return {@code
64   * {@code null}</li>   * null}</li>
65   * <li>static helper method to get a new {@link AttributeMetaData}-map withe   * <li>static helper method to get a new {@link AttributeMetaData}-map withe the
66   * the visible attributes only</li>   * visible attributes only</li>
67   * <li>static helper method to create a "default" {@link AttributeMetaData}-map   * <li>static helper method to create a "default" {@link AttributeMetaData}-map
68   * for a {@link FeatureCollection} with all attributes visible and without real   * for a {@link FeatureCollection} with all attributes visible and without real
69   * translations, but the attribute name as description.</li>   * translations, but the attribute name as description.</li>
# Line 92  public interface StyledMapInterface<E> { Line 91  public interface StyledMapInterface<E> {
91          public Envelope getEnvelope();          public Envelope getEnvelope();
92    
93          /**          /**
94           * @return return an ImageIcon - <code>null</code> is valid and no icon or           * @return return an ImageIcon - <code>null</code> is valid and no icon or a
95           *         a default icon will then be shown           *         default icon will then be shown
96           */           */
97          public ImageIcon getImageIcon();          public ImageIcon getImageIcon();
98    
# Line 136  public interface StyledMapInterface<E> { Line 135  public interface StyledMapInterface<E> {
135          /**          /**
136           * If true, this layer will not be shown in the legend. Default = false           * If true, this layer will not be shown in the legend. Default = false
137           */           */
138          public boolean isHideInLegend();          /**
139             *
140             * Killed by SK: 6. April 09: Ein Layer soll nicht generell auf
141             * verstecken/nicht verstecken gestellt werden können. Das sind
142             * Eigenschaften der Karte/MapContext, ebenso wie die Reihenfolge der Layer.
143             * Im Atlas verwaltet deshalb nun die Klasse skrueger.atlas.Map welche Layer
144             * nicht in der Legende auftauchen sollen. Meines Wissens hat keiner bisher
145             * die Funktion genutzt.
146             *
147             * public boolean isHideInLegend();
148             */
149    
150  }  }

Legend:
Removed from v.2  
changed lines
  Added in v.40

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26