com.esri.map
Class ArcGISPopupInfo
java.lang.Object
com.esri.core.map.popup.PopupInfo
com.esri.map.ArcGISPopupInfo
public class ArcGISPopupInfo
- extends com.esri.core.map.popup.PopupInfo
Fields inherited from class com.esri.core.map.popup.PopupInfo |
description, fieldInfos, minScale, title |
Methods inherited from class com.esri.core.map.popup.PopupInfo |
fromJson, getDescription, getFieldInfo, getFieldInfos, getMaxScale, getMediaInfos, getMinScale, getTitle, isShowAttachments, setDescription, setFieldInfos, setMaxScale, setMediaInfos, setMinScale, setShowAttachments, setTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArcGISPopupInfo
public ArcGISPopupInfo(WebMapPopupInfo webMapPopupInfo)
- Parameters:
webMapPopupInfo
-
ArcGISPopupInfo
public ArcGISPopupInfo(com.esri.core.map.popup.PopupInfo popupInfo)
- Parameters:
popupInfo
-
getField
public Field getField(String fieldName)
- Returns a collection of a graphic's attributes (fields).
- Returns:
- fields
getType
public FeatureType getType(String subType)
- Returns a collection of FeatureType objects representing feature sub-types in the layer to which the graphic
belongs.
- Returns:
- types
getTypeIdField
public String getTypeIdField()
- Returns the name of the graphic's field which contains the sub-type information.
- Returns:
- typeIdField
getLayerName
public String getLayerName()
- Returns:
getLayerId
public int getLayerId()
- Returns:
getLayerUrl
public String getLayerUrl()
- Returns:
getObjectIdField
public String getObjectIdField()
- Returns:
getEditFieldsInfo
public EditFieldsInfo getEditFieldsInfo()
- Returns:
isWebMapFeatureCollection
public boolean isWebMapFeatureCollection()
- Returns true if the popup is from a web map backed by a feature collection, false otherwise.
- Returns:
- true if the popup is from a web map backed by a feature collection, false otherwise.
setWebMapFeatureCollection
public void setWebMapFeatureCollection(boolean webMapFeatureCollection)
- Sets whether or not the popup is from a web map backed by a feature collection.
- Parameters:
b
- True if the popup is from a web map backed by a feature collection, false otherwise
getTypes
public FeatureType[] getTypes()
createSymbolFromTemplate
public Symbol createSymbolFromTemplate(FeatureTemplate template)
- Parameters:
template
-
- Returns:
fetchLayerInfo
public void fetchLayerInfo(String layerInfoUrl,
UserCredentials credentials)
throws Exception
- Parameters:
layerInfoUrl
- credentials
-
- Throws:
Exception
Copyright © 2012. All Rights Reserved.