public class

ArcGISPopupInfo

extends PopupInfo
java.lang.Object
   ↳ com.esri.core.map.popup.PopupInfo
     ↳ com.esri.android.map.ags.ArcGISPopupInfo

Class Overview

Popup information extension including ArcGIS layer information

Summary

[Expand]
Inherited Fields
From class com.esri.core.map.popup.PopupInfo
Public Constructors
ArcGISPopupInfo(WebMapPopupInfo webMapPopupInfo)
Constructor using WebMapPopupInfo to create the instance.
ArcGISPopupInfo(PopupInfo popupInfo)
Constructor using a PopupInfo to create the instance.
Public Methods
Symbol createSymbolFromGraphic(Graphic graphic)
Creates the symbol from graphic.
Symbol createSymbolFromTemplate(FeatureTemplate template)
Creates a symbol based on a provided feature template.
void fetchLayerInfo(String layerInfoUrl, UserCredentials credentials)
Fetch layer info.
String getDisplayField()
EditFieldsInfo getEditFieldsInfo()
Gets the edit fields info.
Field getField(String fieldName)
Returns a collection of a graphic's attributes (fields).
Geometry.Type getGeometryType()
int getLayerId()
Gets the layer id.
String getLayerName()
Gets the layer name.
String getLayerUrl()
Gets the layer url.
String getObjectIdField()
Gets the object id field.
Renderer<Graphic> getRenderer()
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()
Gets the feature types of this ArcGISPopupInfo if any.
boolean isHasAttachments()
Checks if is has attachments.
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.
[Expand]
Inherited Methods
From class com.esri.core.map.popup.PopupInfo
From class java.lang.Object

Public Constructors

public ArcGISPopupInfo (WebMapPopupInfo webMapPopupInfo)

Constructor using WebMapPopupInfo to create the instance.

Parameters
webMapPopupInfo the web map popup info

public ArcGISPopupInfo (PopupInfo popupInfo)

Constructor using a PopupInfo to create the instance.

Parameters
popupInfo the popup info

Public Methods

public Symbol createSymbolFromGraphic (Graphic graphic)

Creates the symbol from graphic.

Parameters
graphic the graphic
Returns
  • the symbol

public Symbol createSymbolFromTemplate (FeatureTemplate template)

Creates a symbol based on a provided feature template.

Parameters
template the template
Returns
  • the symbol

public void fetchLayerInfo (String layerInfoUrl, UserCredentials credentials)

Fetch layer info.

Parameters
layerInfoUrl the layer info url
credentials the credentials
Throws
Exception the exception

public String getDisplayField ()

public EditFieldsInfo getEditFieldsInfo ()

Gets the edit fields info.

Returns
  • the edits the fields info

public Field getField (String fieldName)

Returns a collection of a graphic's attributes (fields).

Parameters
fieldName the field name
Returns
  • fields

public Geometry.Type getGeometryType ()

public int getLayerId ()

Gets the layer id.

Returns
  • the layer id

public String getLayerName ()

Gets the layer name.

Returns
  • the layer name

public String getLayerUrl ()

Gets the layer url.

Returns
  • the layer url

public String getObjectIdField ()

Gets the object id field.

Returns
  • the object id field

public Renderer<Graphic> getRenderer ()

public FeatureType getType (String subType)

Returns a collection of FeatureType objects representing feature sub-types in the layer to which the graphic belongs.

Parameters
subType the sub type
Returns
  • types

public String getTypeIdField ()

Returns the name of the graphic's field which contains the sub-type information.

Returns
  • typeIdField

public FeatureType[] getTypes ()

Gets the feature types of this ArcGISPopupInfo if any.

Returns
  • the types

public boolean isHasAttachments ()

Checks if is has attachments.

Returns
  • true, if checks if is has attachments

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.

public void setWebMapFeatureCollection (boolean webMapFeatureCollection)

Sets whether or not the popup is from a web map backed by a feature collection.

Parameters
webMapFeatureCollection the web map feature collection