Module com.esri.arcgisruntime
Class ExpressionPopupElement
java.lang.Object
com.esri.arcgisruntime.mapping.popup.PopupElement
com.esri.arcgisruntime.mapping.popup.ExpressionPopupElement
- All Implemented Interfaces:
JsonSerializable
Represents a pop-up element of type expression that defines a pop-up element with an Arcade expression.
The expression must evaluate to a
TextPopupElement
, FieldsPopupElement
, or a MediaPopupElement
.- Since:
- 100.14.0
-
Property Summary
Properties inherited from class com.esri.arcgisruntime.mapping.popup.PopupElement
evaluated
-
Constructor Summary
ConstructorDescriptionExpressionPopupElement
(PopupExpression popupExpression) Creates a new expression pop-up element with the given expression. -
Method Summary
Modifier and TypeMethodDescriptionGets the Arcade expression that defines the pop-up element.void
setPopupExpression
(PopupExpression popupExpression) Sets the Arcade expression that defines the pop-up element.Methods inherited from class com.esri.arcgisruntime.mapping.popup.PopupElement
evaluatedProperty, fromJson, getUnknownJson, getUnsupportedJson, isEvaluated, toJson
-
Constructor Details
-
ExpressionPopupElement
Creates a new expression pop-up element with the given expression.Refer to Popup Element for more details.
- Parameters:
popupExpression
- an Arcade expression that defines the pop-up element. The return type will always bePopupExpression.ReturnType.DICTIONARY
which must follow the Web Map Specification for a pop-up element. This param may be null.- Since:
- 100.14.0
-
-
Method Details
-
getPopupExpression
Gets the Arcade expression that defines the pop-up element.- Returns:
- the Arcade expression that defines the pop-up element, or null if none
- Since:
- 100.14.0
- See Also:
-
setPopupExpression
Sets the Arcade expression that defines the pop-up element.- Parameters:
popupExpression
- the Arcade expression that defines the pop-up element- Since:
- 100.14.0
- See Also:
-