|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.WmsLayer
The WmsLayer class is used to display a WMS layer as a background on an otherwise ArcIMS map. At this time, only one WmsLayer object may be added to the map. Later, support will be added for multiple WMS layers. Note that the layer object may be made up of multiple WMS layers.
| Field Summary |
| Fields inherited from interface com.moximedia.aims.AimsObject |
OBJECT_TYPE_ACETATE_LAYER, OBJECT_TYPE_FEATURE_LAYER, OBJECT_TYPE_FOLDER, OBJECT_TYPE_FOLDERS, OBJECT_TYPE_GROUP, OBJECT_TYPE_GROUPS, OBJECT_TYPE_IMAGE_LAYER, OBJECT_TYPE_WMS_LAYER |
| Fields inherited from interface com.moximedia.aims.AimsLayer |
LAYER_TYPE_ACETATE, LAYER_TYPE_FEATURE, LAYER_TYPE_IMAGE, LAYER_TYPE_WMS |
| Constructor Summary | |
|
WmsLayer()
Do not use. |
protected |
WmsLayer(AimsMap map)
Creates an image layer object and associates it to a map. |
| Method Summary | |
void |
addLayerListLegend(AimsLayerListLegend legend)
Adds a layer list legend. |
void |
adjustScaleFactors(double multiplier)
Adjusts the scale factors for this layer. |
void |
adjustScaleFactors(java.lang.String inUnits,
java.lang.String outUnits)
Adjusts the scale factors for this layer. |
boolean |
canEdit()
Gets a boolean value indicating whether a layer can be edited. |
boolean |
canFindByAttribute()
Gets a boolean value indicating whether a layer can be queried using the find location by attribute tool. |
boolean |
canHideLabels()
Returns a boolean value indicating whether labels can be hidden. |
boolean |
canHideLayerListLegend()
Gets and indicator of whether the legend could be shown, true regardless of whether or not it is turned off. |
boolean |
canSelectByAttribute()
Gets a boolean value indicating whether a layer can be queried using the select location by attribute tool. |
boolean |
canShowLayerListLegend()
Gets and indicator of whether the legend could be shown, true regardless of whether or not it is turned off. |
java.lang.Object |
clone()
|
java.lang.String |
getAlias()
get alias of the layer |
java.lang.String |
getAuthenticationId()
|
boolean |
getCanDrillIdentify()
Gets a boolean value indicating whether the layer can be identified using the drill down identify tool. |
boolean |
getCanIdentify()
Gets a boolean value indicating whether the layer can be identified. |
boolean |
getCanSelect()
Returns true if the layer is selectable. |
boolean |
getCanSetVisibility()
Gets a boolean value indicating whether the layer can be turned on and off by the user. |
boolean |
getCanSetVisibilityBeyondScale()
Gets a boolean value indicating whether the layer can be turned on and off by the user when the layer is beyond scale. |
boolean |
getCanSymbolize()
Gets an indicator of whether the layer can be symbolized. |
boolean |
getCanZoomToLayer()
Returns a boolean indicator of whether the zoom to layer extent function should be enabled for this layer. |
AimsEnvelope |
getExtent()
Returns the extent of the layer. |
java.lang.String |
getForwardedImage(java.lang.String imageUrl)
|
java.lang.String |
getId()
Get ID of the layer. |
boolean |
getImmediateRefresh()
Returns whether the map should immediately refresh when the map layer visibility is changed. |
AimsLayerListLegend |
getLayerListLegend()
Gets and indicator of whether a layer list legend exists at this scale. |
AimsLayerListLegends |
getLayerListLegends()
Gets the array of layer list legends for this group. |
int |
getLayerType()
Gets the layer type, AimsLayer.LAYER_TYPE_WMS |
boolean |
getLegendVisible()
Returns whether the layer should be visible in the legend. |
AimsMap |
getMap()
Interface element only. |
java.lang.String |
getMapRequestUrlString()
|
double |
getMaxScale()
Get the maximum scale that the layer is visible |
java.lang.String |
getMetadataHandler()
Returns the URL of the metadata handler page for this layer, or null if no metatata handler is defined. |
java.lang.String |
getMetadataUrl()
Returns the URL to the metadata page for this layer, or null if no metatata URL is defined. |
double |
getMinScale()
Get the minimum scale that the layer is visible |
java.lang.String |
getName()
get name of the layer |
int |
getObjectId()
Returns the IMF internal id for this layer. |
int |
getObjectType()
Gets the type of object this is. |
java.lang.String |
getProperty(java.lang.String name)
Gets the value of a property set in the configuration XML using a <property> element. |
AimsRecordset |
getRecordset()
|
AimsRenderer |
getRenderer()
|
boolean |
getShowSymbolizeIcon()
Gets an indicator of whether the symbolize icon shows up in the layer list. |
java.lang.Object |
getTag()
Gets the user defined object tag assosciated with this object. |
java.lang.String |
getType()
Returns the layer type. |
boolean |
getVisible()
Determine if the layer is visible |
boolean |
hasAuthentication()
|
boolean |
hasLayerListLegend()
Gets and indicator of whether a layer list legend exists at this scale. |
boolean |
isAfterArcImsLayers()
|
boolean |
isBeforeArcImsLayers()
|
boolean |
isBufferLayer()
|
boolean |
isClone()
|
boolean |
isDynamic()
|
boolean |
isForwarded()
|
boolean |
isHighlightLayer()
Returns true if the layer is a highlight layer. |
boolean |
isLayerWithinThreshold()
Returns whether this layer is within threshold tolerance. |
boolean |
isServiceLayer()
Returns a flag indicating whether this layer was loaded from a map service. |
boolean |
isVisible()
Determine if the layer is visible |
boolean |
labelsHidden()
Returns a boolean value indicating whether labels are currently hidden. |
void |
setAuthentication(java.lang.String userpass)
|
void |
setAxlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
|
void |
setCanDrillIdentify(boolean canDrillIdentify)
Sets whether the layer can be identified using the drill down identify tool. |
void |
setCanIdentify(boolean canIdentify)
Sets whether the layer can be identified. |
void |
setCanSetVisibility(boolean canSetVisibility)
Sets whether the layer can be turned on and off by the user. |
void |
setCanSetVisibilityBeyondScale(boolean canSetVisibility)
Sets whether the layer can be turned on and off by the user. |
void |
setExtent(AimsEnvelope envelope)
Sets the envelope (extent) of the layer. |
protected void |
setId(java.lang.String id)
Sets the id for the layer. |
void |
setLegendVisible(boolean isVisible)
Interface compliance only. |
void |
setMap(AimsMap map)
Sets the map that this layer belongs to if it isn't null, |
void |
setMaxScale(double scale)
|
void |
setMinScale(double scale)
|
void |
setModified(boolean isModified)
|
protected void |
setName(java.lang.String name)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the value of a property (programmer defined). |
void |
setTag(java.lang.Object tag)
Sets the user defined object associated to this object. |
void |
setVisible(boolean visible)
turn on/off the layer |
void |
showLabels(boolean showLabels)
Sets a layer to show without labels. |
java.lang.String |
toAxlString(java.lang.String requestType)
Returns the AXL string to refresh this object. |
java.lang.String |
toString()
Returns a text representation of of this class. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public WmsLayer()
protected WmsLayer(AimsMap map)
map - The map object containing this layer.| Method Detail |
public void addLayerListLegend(AimsLayerListLegend legend)
addLayerListLegend in interface AimsLayerlegend - The legend to add.public boolean hasLayerListLegend()
hasLayerListLegend in interface AimsLayerpublic AimsLayerListLegend getLayerListLegend()
getLayerListLegend in interface AimsLayerpublic AimsLayerListLegends getLayerListLegends()
getLayerListLegends in interface AimsLayerpublic boolean canHideLayerListLegend()
canHideLayerListLegend in interface AimsLayerpublic boolean canShowLayerListLegend()
canShowLayerListLegend in interface AimsLayerpublic boolean getImmediateRefresh()
getImmediateRefresh in interface AimsLayerpublic int getLayerType()
getLayerType in interface AimsLayerpublic boolean getLegendVisible()
getLegendVisible in interface AimsLayerpublic AimsMap getMap()
getMap in interface AimsLayerpublic int getObjectId()
getObjectId in interface AimsLayerpublic java.lang.String getType()
getType in interface AimsLayerpublic java.lang.String getId()
getId in interface AimsLayerpublic boolean isLayerWithinThreshold()
isLayerWithinThreshold in interface AimsLayerpublic boolean isServiceLayer()
isServiceLayer in interface AimsLayerprotected void setId(java.lang.String id)
id - The id for the layer.public java.lang.String getName()
getName in interface AimsLayerpublic java.lang.String getAlias()
getAlias in interface AimsLayerpublic boolean getCanSetVisibility()
getCanSetVisibility in interface AimsLayerpublic void setCanSetVisibility(boolean canSetVisibility)
canSetVisibility - True if the layer can be identified, otherwise false.public boolean getCanSetVisibilityBeyondScale()
getCanSetVisibilityBeyondScale in interface AimsLayerpublic void setCanSetVisibilityBeyondScale(boolean canSetVisibility)
canSetVisibility - True if the layer can be identified, otherwise false.protected void setName(java.lang.String name)
public void setMinScale(double scale)
setMinScale in interface AimsLayerpublic void setMaxScale(double scale)
setMaxScale in interface AimsLayerpublic AimsRenderer getRenderer()
getRenderer in interface AimsLayerpublic AimsRecordset getRecordset()
getRecordset in interface AimsLayerpublic double getMaxScale()
getMaxScale in interface AimsLayerpublic double getMinScale()
getMinScale in interface AimsLayerpublic boolean getVisible()
getVisible in interface AimsLayerpublic boolean isVisible()
public void setVisible(boolean visible)
setVisible in interface AimsLayervisible - true if turn on
public void setAxlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
public java.lang.String toString()
toString in interface AimsLayerpublic java.lang.String toAxlString(java.lang.String requestType)
toAxlString in interface AimsLayerrequestType - The type of AXL requested. Valid values are "LAYER" and "LAYERDEF".
public boolean isHighlightLayer()
isHighlightLayer in interface AimsLayerpublic boolean getCanSelect()
getCanSelect in interface AimsLayerpublic java.lang.String getMetadataHandler()
getMetadataHandler in interface AimsLayerpublic java.lang.String getMetadataUrl()
getMetadataUrl in interface AimsLayerpublic void setModified(boolean isModified)
setModified in interface AimsLayerpublic void setMap(AimsMap map)
setMap in interface AimsLayermap - The map that this layer is part of.public boolean isClone()
isClone in interface AimsLayerpublic boolean isDynamic()
isDynamic in interface AimsLayerpublic java.lang.Object clone()
clone in interface AimsLayerpublic boolean canFindByAttribute()
canFindByAttribute in interface AimsLayerpublic boolean canSelectByAttribute()
canSelectByAttribute in interface AimsLayerpublic boolean canEdit()
canEdit in interface AimsLayerpublic void showLabels(boolean showLabels)
showLabels in interface AimsLayershowLabels - Has no effect.public boolean canHideLabels()
canHideLabels in interface AimsLayerpublic boolean labelsHidden()
labelsHidden in interface AimsLayerpublic void setExtent(AimsEnvelope envelope)
setExtent in interface AimsLayerenvelope - The envelope (extent) of the layer.public AimsEnvelope getExtent()
getExtent in interface AimsLayerpublic boolean getCanIdentify()
getCanIdentify in interface AimsLayerpublic void setCanIdentify(boolean canIdentify)
canIdentify - True if the layer can be identified, otherwise false.public boolean isBufferLayer()
isBufferLayer in interface AimsLayerpublic boolean getCanDrillIdentify()
getCanDrillIdentify in interface AimsLayerpublic void setCanDrillIdentify(boolean canDrillIdentify)
canDrillIdentify - True if the layer can be identified using the drill down identify
tool, otherwise false.public java.lang.String getProperty(java.lang.String name)
getProperty in interface AimsLayername - The property name
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface AimsLayername - The property namevalue - The property value.public boolean getCanZoomToLayer()
getCanZoomToLayer in interface AimsLayerpublic void setLegendVisible(boolean isVisible)
setLegendVisible in interface AimsLayerisVisible - A boolean value indicating whether the layer should be
visible in the legend.public boolean isAfterArcImsLayers()
public boolean isBeforeArcImsLayers()
public boolean hasAuthentication()
public java.lang.String getAuthenticationId()
public void setAuthentication(java.lang.String userpass)
public java.lang.String getForwardedImage(java.lang.String imageUrl)
public java.lang.String getMapRequestUrlString()
public boolean isForwarded()
public java.lang.Object getTag()
getTag in interface AimsLayerpublic void setTag(java.lang.Object tag)
setTag in interface AimsLayertag - Any Object.public boolean getCanSymbolize()
getCanSymbolize in interface AimsLayerpublic boolean getShowSymbolizeIcon()
getShowSymbolizeIcon in interface AimsLayer
public void adjustScaleFactors(java.lang.String inUnits,
java.lang.String outUnits)
adjustScaleFactors in interface AimsLayerinUnits - The original units, "METERS", FEET" or "DECIMAL_DEGREES".outUnits - The target units, "METERS", FEET" or "DECIMAL_DEGREES".public void adjustScaleFactors(double multiplier)
adjustScaleFactors in interface AimsLayermultiplier - The multiplication factor for
adjusting scale factors.public int getObjectType()
getObjectType in interface AimsObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||