|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.aws.data.AWSMapFunctionality
@Deprecated public class AWSMapFunctionality
| Field Summary | |
|---|---|
protected AWSMapResource |
awsMapResource
Deprecated. |
protected com.esri.aws.Envelope |
currentEnvelope
Deprecated. |
protected com.esri.aws.CoordSys |
currentSR
Deprecated. |
protected com.esri.aws.CoordSys |
defaultSR
Deprecated. |
protected boolean |
disabled
Deprecated. |
protected WebExtent |
fullExtent
Deprecated. |
protected WebExtent |
initialExtent
Deprecated. |
protected com.esri.aws.LayerInfo[] |
layerInfoForCurrentExtent
Deprecated. |
protected com.esri.aws.Layer[] |
layers
Deprecated. |
protected double |
mapScale
Deprecated. |
protected double |
transparency
Deprecated. |
| Fields inherited from interface com.esri.adf.web.data.MapFunctionality |
|---|
FUNCTIONALITY_NAME |
| Fields inherited from interface com.esri.adf.web.data.export.ExportFunctionality |
|---|
EXPORT_FUNCTIONALITY_NAME |
| Constructor Summary | |
|---|---|
AWSMapFunctionality()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
destroyFunctionality()
Deprecated. The cleanup chores (such as releasing held resources) for the functionality must be performed in this method. |
java.io.InputStream |
export(ExportProperties exportProperties)
Deprecated. |
java.io.InputStream |
exportImage()
Deprecated. Exports this map for the current extent. |
WebExtent |
getCurrentExtent()
Deprecated. Returns the current extent of this map. |
WebExtent |
getFullExtent()
Deprecated. Returns the full extent of this map. |
WebExtent |
getInitialExtent()
Deprecated. Returns the initial extent of this map. |
com.esri.aws.LayerInfo[] |
getLayerInfoForCurrentExtent()
Deprecated. |
com.esri.aws.Layer[] |
getLayers()
Deprecated. |
double |
getMapScale()
Deprecated. Returns the current scale of this map. |
AWSMapResource |
getResource()
Deprecated. Returns the GISResource associated with this functionality. |
double |
getTransparency()
Deprecated. Returns the transparency factor for this map functionality. |
void |
initFunctionality(GISResource resource)
Deprecated. The initialization chores for the functionality must be performed in this method. |
boolean |
isDisabled()
Deprecated. Returns true if this map functionality is disabled. |
void |
setCurrentExtent(WebExtent newMapExtent)
Deprecated. Sets the current extent of this map. |
void |
setDisabled(boolean disabled)
Deprecated. If true, this map functionality is disabled. |
void |
setFullExtent(WebExtent extent)
Deprecated. |
void |
setInitialExtent(WebExtent extent)
Deprecated. |
void |
setLayers(com.esri.aws.Layer[] layers)
Deprecated. |
void |
setTransparency(double transparency)
Deprecated. Sets the transparency factor for this map functionality. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AWSMapResource awsMapResource
protected WebExtent fullExtent
protected boolean disabled
protected double mapScale
protected com.esri.aws.Envelope currentEnvelope
protected com.esri.aws.Layer[] layers
protected com.esri.aws.LayerInfo[] layerInfoForCurrentExtent
protected WebExtent initialExtent
protected double transparency
protected com.esri.aws.CoordSys currentSR
protected com.esri.aws.CoordSys defaultSR
| Constructor Detail |
|---|
public AWSMapFunctionality()
| Method Detail |
|---|
public void initFunctionality(GISResource resource)
GISFunctionality
The initialization chores for the functionality must be performed in this method. This method is called by the
resource when the functionality needs to be initialized. This happens either when the resource
itself is being initialized or if users add this functionality to the resource using the
GISResource.addFunctionality(String, GISFunctionality) method after the resource has already
been initialized.
Classes which implement this method should maintain the resource as a class instance variable and
return the same in the GISFunctionality.getResource() method. The functionality is ready for use only after this method has
been called.
initFunctionality in interface GISFunctionalityresource - the GISResource that this functionality supportsGISResource.init(WebContext)public void destroyFunctionality()
GISFunctionality
The cleanup chores (such as releasing held resources) for the functionality must be performed in this method. This
method is called by the GISResource when the resource itself is being destroyed.
The functionality is no longer usable after this method has been called.
destroyFunctionality in interface GISFunctionalityGISResource.destroy()public WebExtent getCurrentExtent()
MapFunctionalityReturns the current extent of this map.
getCurrentExtent in interface MapFunctionalityWebExtent of this mappublic void setCurrentExtent(WebExtent newMapExtent)
MapFunctionalitySets the current extent of this map.
setCurrentExtent in interface MapFunctionalitynewMapExtent - the current WebExtent of this mappublic boolean isDisabled()
MapFunctionality
Returns true if this map functionality is disabled. If a map functionality is disabled, the WebMap will not
call the MapFunctionality.exportImage() on that functionality while it is disabled.
A map functionality is typically disabled by unchecking the resource node in the Table of Contents control.
isDisabled in interface MapFunctionalitypublic void setDisabled(boolean disabled)
MapFunctionality
If true, this map functionality is disabled. If a map functionality is disabled, the WebMap will not call
the MapFunctionality.exportImage() on that functionality while it is disabled.
A map functionality is typically disabled by unchecking the resource node in the Table of Contents control.
setDisabled in interface MapFunctionalitydisabled - true if this map functionality is disabledpublic double getTransparency()
MapFunctionalityReturns the transparency factor for this map functionality. Valid values are from 0.0 through 1.0. A value of 1 means it is completely opaque while a value of 0 means it is completely transparent.
The WebMap uses this value after the map image has been exported and applies the transparency
appropriately. Note that transparency will not be applied for the lower most service. In a single service
application that service is the lower most service and hence transparency will not be applied for it.
getTransparency in interface MapFunctionalitypublic void setTransparency(double transparency)
MapFunctionalitySets the transparency factor for this map functionality. Valid values are from 0.0 through 1.0. A value of 1 means it is completely opaque while a value of 0 means it is completely transparent.
The WebMap uses this value after the map image has been exported and applies the transparency
appropriately. Note that transparency will not be applied for the lower most service. In a single service
application that service is the lower most service and hence transparency will not be applied for it.
setTransparency in interface MapFunctionalitytransparency - the transparency factor for this map functionalitypublic WebExtent getFullExtent()
MapFunctionalityReturns the full extent of this map.
Typically, this extent should be determined by the functionality when it is initialized.
getFullExtent in interface MapFunctionalityWebExtent of this mappublic WebExtent getInitialExtent()
MapFunctionalityReturns the initial extent of this map.
Typically, this extent should be determined by the functionality when it is initialized.
getInitialExtent in interface MapFunctionalityWebExtent of this mappublic double getMapScale()
MapFunctionalityReturns the current scale of this map.
getMapScale in interface MapFunctionalitypublic java.io.InputStream exportImage()
MapFunctionalityExports this map for the current extent. Implementations should ensure the following:
WebContext.
WebMap, the image should exported
by setting its background color as the transparent color. The
WebMap.isLastEnabledMapFunctionality(MapFunctionality) can be used to determine this condition.
The WebMap calls this method on all its map functionalities and eventually fuses all the exported maps
before streaming it to the user.
exportImage in interface MapFunctionalityjava.io.InputStream to the exported imagepublic java.io.InputStream export(ExportProperties exportProperties)
export in interface ExportFunctionalitypublic AWSMapResource getResource()
GISFunctionality
Returns the GISResource associated with this functionality.
The resource passed to GISFunctionality.initFunctionality(GISResource) is maintained as a class variable and is accessible
through this method.
getResource in interface GISFunctionalityGISResource associated with this functionalitypublic com.esri.aws.LayerInfo[] getLayerInfoForCurrentExtent()
public com.esri.aws.Layer[] getLayers()
public void setFullExtent(WebExtent extent)
public void setInitialExtent(WebExtent extent)
public void setLayers(com.esri.aws.Layer[] layers)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||