Class ExpressionPopupElement
- java.lang.Object
-
- com.esri.arcgisruntime.mapping.popup.PopupElement
-
- com.esri.arcgisruntime.mapping.popup.ExpressionPopupElement
-
public final class ExpressionPopupElement extends PopupElement
Represents a pop-up element of type expression that defines a pop-up element with an Arcade expression. The expression must evaluate to aTextPopupElement
,FieldsPopupElement
, or aMediaPopupElement
.- Since:
- 100.14.0
- See Also:
PopupElement
-
-
Constructor Summary
Constructors Constructor Description ExpressionPopupElement(PopupExpression popupExpression)
Creates a new expression pop-up element with the given expression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PopupExpression
getPopupExpression()
Gets the Arcade expression that defines the pop-up element.void
setPopupExpression(PopupExpression popupExpression)
Sets the Arcade expression that defines the pop-up element.
-
-
-
Constructor Detail
-
ExpressionPopupElement
public ExpressionPopupElement(PopupExpression popupExpression)
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 Detail
-
getPopupExpression
public PopupExpression 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(PopupExpression)
-
setPopupExpression
public void setPopupExpression(PopupExpression popupExpression)
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:
getPopupExpression()
-
-