|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StyledLayerInterface<E>
This class is the top interface for styled objects to be managed in
MapContextManagerInterface
. The (rough) classe structure is the
following:
StyledLayerInterface
getId()
-> Stringget/setKeywords()
-> Translation
set/getTitle()
-> Translation
(short
description for layer list)set/getDesc()
-> Translation
(long description
for details)getCrs()
-> CoordinateReferenceSystem
getCRSString()
-> String (readable description of CRS)getEnvelope()
-> Envelope
(JTS-Envelope)getGeoObject()
-> E (GridCoverage/FeatureCollection/...)set/getStyle()
-> Style
uncache()
dispose()
StyledFeatureCollectionInterface
extends
StyledLayerInterface
StyledRasterInterface
extends StyledLayerInterface
StyledLayerInterface
Translation
must not return null
AttributeMetaData
-Map must not return null
AttributeMetaData
-map withe the
visible attributes onlyAttributeMetaData
-map
for a FeatureCollection
with all attributes visible and without real
translations, but the attribute name as description.
Method Summary | |
---|---|
void |
dispose()
Should be called when this Object is not needed anymore. |
CoordinateReferenceSystem |
getCrs()
|
String |
getCRSString()
|
Translation |
getDesc()
|
Envelope |
getEnvelope()
|
E |
getGeoObject()
Returns the underlying GeoTools Object |
String |
getId()
|
ImageIcon |
getImageIcon()
|
URL |
getInfoURL()
Returns the URL to a (HTML) file that provides more information
about this layer. |
Translation |
getKeywords()
|
Style |
getStyle()
|
Translation |
getTitle()
|
boolean |
isDisposed()
Is the object already disposed? |
void |
setDesc(Translation dec)
|
void |
setImageIcon(ImageIcon icon)
|
void |
setKeywords(Translation keywords)
|
void |
setStyle(Style style)
|
void |
setTitle(Translation title)
|
void |
uncache()
Clears any caches. |
Method Detail |
---|
String getId()
Translation getTitle()
void setTitle(Translation title)
Translation getDesc()
void setDesc(Translation dec)
Translation getKeywords()
void setKeywords(Translation keywords)
CoordinateReferenceSystem getCrs()
String getCRSString()
Envelope getEnvelope()
ImageIcon getImageIcon()
null
is valid and no icon or a
default icon will then be shownvoid setImageIcon(ImageIcon icon)
E getGeoObject()
RuntimeException
Style getStyle()
void setStyle(Style style)
URL getInfoURL()
URL
to a (HTML) file that provides more information
about this layer. If no HTML if associated with this
StyledLayerInterface
, then null
will be returned.
URL
void dispose()
boolean isDisposed()
void uncache()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |