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

trunk/src/skrueger/geotools/StyledMapInterface.java revision 208 by alfonx, Thu Jul 9 20:51:58 2009 UTC trunk/src/skrueger/geotools/StyledLayerInterface.java revision 224 by alfonx, Tue Jul 14 15:57:19 2009 UTC
# Line 19  import com.vividsolutions.jts.geom.Envel Line 19  import com.vividsolutions.jts.geom.Envel
19   * {@link MapContextManagerInterface}. The (rough) classe structure is the   * {@link MapContextManagerInterface}. The (rough) classe structure is the
20   * following:   * following:
21   * <ul>   * <ul>
22   * <li><b>{@link StyledMapInterface StyledMapInterface<E>}</b>   * <li><b>{@link StyledLayerInterface StyledLayerInterface<E>}</b>
23   * <ul>   * <ul>
24   * <li>{@link #getId()} -> String</li>   * <li>{@link #getId()} -> String</li>
25   * <li>{@link #getKeywords() get/setKeywords()} -> {@link Translation}</li>   * <li>{@link #getKeywords() get/setKeywords()} -> {@link Translation}</li>
# Line 37  import com.vividsolutions.jts.geom.Envel Line 37  import com.vividsolutions.jts.geom.Envel
37   * </ul>   * </ul>
38   * </li>   * </li>
39   * <li><b>{@link StyledFeatureCollectionInterface} extends   * <li><b>{@link StyledFeatureCollectionInterface} extends
40   * {@link StyledMapInterface StyledMapInterface<FeatureCollection>}</b>   * {@link StyledLayerInterface StyledLayerInterface<FeatureCollection>}</b>
41   * <ul>   * <ul>
42   * <li>{@link StyledFeatureCollectionInterface#getAttributeMetaDataMap()} ->   * <li>{@link StyledFeatureCollectionInterface#getAttributeMetaDataMap()} ->
43   * Map<Integer,AttributeMetaData></li>   * Map<Integer,AttributeMetaData></li>
44   * </ul>   * </ul>
45   * </li>   * </li>
46   * <li><b>{@link StyledRasterInterface} extends {@link StyledMapInterface   * <li><b>{@link StyledRasterInterface} extends {@link StyledLayerInterface
47   * StyledMapInterface<GridCoverage2D>}</b>   * StyledLayerInterface<GridCoverage2D>}</b>
48   * <ul>   * <ul>
49   * <li>{@link StyledRasterInterface#getLegendMetaData()} ->   * <li>{@link StyledRasterInterface#getLegendMetaData()} ->
50   * {@link RasterLegendData}</li>   * {@link RasterLegendData}</li>
# Line 54  import com.vividsolutions.jts.geom.Envel Line 54  import com.vividsolutions.jts.geom.Envel
54   * <br>   * <br>
55   * <b>Restrictions:</b>   * <b>Restrictions:</b>
56   * <ul>   * <ul>
57   * <li>layer list only depends on {@link StyledMapInterface}</li>   * <li>layer list only depends on {@link StyledLayerInterface}</li>
58   * <li>methods returning {@link Translation} must not return {@code null}</li>   * <li>methods returning {@link Translation} must not return {@code null}</li>
59   * <li>methods returning {@link AttributeMetaData}-Map must not return {@code   * <li>methods returning {@link AttributeMetaData}-Map must not return {@code
60   * null}</li>   * null}</li>
# Line 65  import com.vividsolutions.jts.geom.Envel Line 65  import com.vividsolutions.jts.geom.Envel
65   * translations, but the attribute name as description.</li>   * translations, but the attribute name as description.</li>
66   * </ul>   * </ul>
67   */   */
68  public interface StyledMapInterface<E> {  public interface StyledLayerInterface<E> {
69          public String getId();          public String getId();
70    
71          public Translation getTitle();          public Translation getTitle();
# Line 108  public interface StyledMapInterface<E> { Line 108  public interface StyledMapInterface<E> {
108          /**          /**
109           * Returns the {@link URL} to a (HTML) file that provides more information           * Returns the {@link URL} to a (HTML) file that provides more information
110           * about this layer. If no HTML if associated with this           * about this layer. If no HTML if associated with this
111           * {@link StyledMapInterface}, then <code>null</code> will be returned.           * {@link StyledLayerInterface}, then <code>null</code> will be returned.
112           *           *
113           * @return null or an {@link URL}           * @return null or an {@link URL}
114           */           */

Legend:
Removed from v.208  
changed lines
  Added in v.224

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26