com.esri.map
Class ArcGISPopupInfo

java.lang.Object
  extended by com.esri.core.map.popup.PopupInfo
      extended by com.esri.map.ArcGISPopupInfo

public class ArcGISPopupInfo
extends com.esri.core.map.popup.PopupInfo


Field Summary
 
Fields inherited from class com.esri.core.map.popup.PopupInfo
description, fieldInfos, minScale, title
 
Constructor Summary
ArcGISPopupInfo(com.esri.core.map.popup.PopupInfo popupInfo)
           
ArcGISPopupInfo(WebMapPopupInfo webMapPopupInfo)
           
 
Method Summary
 Symbol createSymbolFromTemplate(FeatureTemplate template)
           
 void fetchLayerInfo(String layerInfoUrl, UserCredentials credentials)
           
 EditFieldsInfo getEditFieldsInfo()
           
 Field getField(String fieldName)
          Returns a collection of a graphic's attributes (fields).
 int getLayerId()
           
 String getLayerName()
           
 String getLayerUrl()
           
 String getObjectIdField()
           
 FeatureType getType(String subType)
          Returns a collection of FeatureType objects representing feature sub-types in the layer to which the graphic belongs.
 String getTypeIdField()
          Returns the name of the graphic's field which contains the sub-type information.
 FeatureType[] getTypes()
           
 boolean isWebMapFeatureCollection()
          Returns true if the popup is from a web map backed by a feature collection, false otherwise.
 void setWebMapFeatureCollection(boolean webMapFeatureCollection)
          Sets whether or not the popup is from a web map backed by a feature collection.
 
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
 

Constructor Detail

ArcGISPopupInfo

public ArcGISPopupInfo(WebMapPopupInfo webMapPopupInfo)
Parameters:
webMapPopupInfo -

ArcGISPopupInfo

public ArcGISPopupInfo(com.esri.core.map.popup.PopupInfo popupInfo)
Parameters:
popupInfo -
Method Detail

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.