java.lang.Object
com.esri.arcgisruntime.mapping.popup.PopupMediaValue
Represents the media info values correlating to the type of media.
- Since:
- 100.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
Gets the attribute values for the pop-up media's fields defined ingetFieldNames()
.Gets the field names of the fields to display in the chart.Gets the user-friendly display names for the pop-up media's fields defined ingetFieldNames()
.Gets the link URL for an image media.Gets the optional field name used to normalize the chart.Gets the source URL for an image media.Gets the tooltip field name.void
setLinkUrl
(String linkUrl) Sets the link URL for an image media.void
setNormalizeFieldName
(String normalizeFieldName) Sets the optional field name used to normalize the chart.void
setSourceUrl
(String sourceUrl) Sets the source URL for an image media.void
setTooltipFieldName
(String tooltipFieldName) Sets the tooltip field name.
-
Constructor Details
-
PopupMediaValue
public PopupMediaValue()Constructs an empty PopupMediaValue.- Since:
- 100.0.0
-
-
Method Details
-
getSourceUrl
Gets the source URL for an image media.For PopupMediaValue objects used with a chart, this will be empty.
- Returns:
- the source URL for an image media
- Since:
- 100.0.0
-
setSourceUrl
Sets the source URL for an image media.- Parameters:
sourceUrl
- the source URL for an image media- Since:
- 100.0.0
-
getLinkUrl
Gets the link URL for an image media.For PopupMediaValue objects used with a chart, this will be empty.
- Returns:
- the link URL for an image media
- Since:
- 100.0.0
-
setLinkUrl
Sets the link URL for an image media.- Parameters:
linkUrl
- the link URL for an image media- Since:
- 100.0.0
-
getNormalizeFieldName
Gets the optional field name used to normalize the chart.- Returns:
- the optional field name used to normalize the chart
- Since:
- 100.0.0
-
setNormalizeFieldName
Sets the optional field name used to normalize the chart.- Parameters:
normalizeFieldName
- the optional field name used to normalize the chart- Since:
- 100.0.0
-
getTooltipFieldName
Gets the tooltip field name.- Returns:
- the tooltip field name
- Since:
- 100.0.0
-
setTooltipFieldName
Sets the tooltip field name.- Parameters:
tooltipFieldName
- the tooltip field name- Since:
- 100.0.0
-
getData
Gets the attribute values for the pop-up media's fields defined ingetFieldNames()
. This property is populated whenPopup.evaluateExpressionsAsync()
is called.For PopupMediaValue objects used with an image or if
PopupElement.isEvaluated()
is false, this will be an empty collection. The data will be normalized ifgetNormalizeFieldName()
is not empty.- Returns:
- the attribute values for the pop-up media's fields defined in
PopupMediaValue.getFieldNames()
- Since:
- 200.1.0
-
getFieldNames
Gets the field names of the fields to display in the chart.- Returns:
- the field names of the fields to display in the chart
- Since:
- 100.0.0
-
getLabels
Gets the user-friendly display names for the pop-up media's fields defined ingetFieldNames()
. This property is populated whenPopup.evaluateExpressionsAsync()
is called.For PopupMediaValue objects used with an image or if
PopupElement.isEvaluated()
is false, this will be an empty collection.- Returns:
- the user-friendly display names for the pop-up media's fields defined in
PopupMediaValue.getFieldNames()
- Since:
- 200.1.0
-