public class

ArcGISValueFormat

extends Object
java.lang.Object
   ↳ com.esri.android.map.popup.ArcGISValueFormat

Class Overview

Convenient class to format values in the popup.

Summary

Public Constructors
ArcGISValueFormat(Popup popup)
Constructor taking a Popup.
Public Methods
String formatValue(FeatureType featureType, Object value, PopupFieldInfo fieldInfo)
Format the value using the information contained in the PopupFieldInfo and the FeatureType provided.
String formatValue(Object obj)
Format the value based on its type.
String formatValue(Object value, PopupFieldInfo fieldInfo)
Format the value using the information contained in the PopupFieldInfo.
Protected Methods
String getCodedValueAndFormat(FeatureType featureType, Object value, PopupFieldInfo fieldInfo)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ArcGISValueFormat (Popup popup)

Constructor taking a Popup.

Parameters
popup the popup

Public Methods

public String formatValue (FeatureType featureType, Object value, PopupFieldInfo fieldInfo)

Format the value using the information contained in the PopupFieldInfo and the FeatureType provided.

Parameters
featureType the feature type
value the value
fieldInfo the field info
Returns
  • the string

public String formatValue (Object obj)

Format the value based on its type.

Parameters
obj the obj
Returns
  • the string

public String formatValue (Object value, PopupFieldInfo fieldInfo)

Format the value using the information contained in the PopupFieldInfo.

Parameters
value the value
fieldInfo the field info
Returns
  • the string

Protected Methods

protected String getCodedValueAndFormat (FeatureType featureType, Object value, PopupFieldInfo fieldInfo)