java.lang.Object
com.esri.arcgisruntime.mapping.popup.PopupExpression
Defines an Arcade expression within a pop-up.
- Since:
- 100.3.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The type of the result returned by an Arcade expression. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the Arcade expression defined in this expression.getName()
Gets the name of this expression.Gets the return type of this expression.getTitle()
Gets the title of this expression.void
setExpression
(String expression) Sets the Arcade expression defined in this expression.void
Sets the name of this expression.void
setReturnType
(PopupExpression.ReturnType returnType) Sets the return type of this expression.void
Sets the title of this expression.
-
Constructor Details
-
PopupExpression
public PopupExpression()Creates a new instance of an empty PopupExpression.Use a pop-up expression object to define an Arcade expression within a pop-up.
- Since:
- 100.5.0
-
-
Method Details
-
getExpression
Gets the Arcade expression defined in this expression.- Returns:
- an Arcade expression string
- Since:
- 100.3.0
-
setExpression
Sets the Arcade expression defined in this expression.- Parameters:
expression
- the Arcade expression string- Since:
- 100.3.0
-
getName
Gets the name of this expression.- Returns:
- the name of this expression
- Since:
- 100.3.0
-
setName
Sets the name of this expression.- Parameters:
name
- the name of this expression- Since:
- 100.3.0
-
getTitle
Gets the title of this expression.- Returns:
- the title of this expression
- Since:
- 100.3.0
-
setTitle
Sets the title of this expression.- Parameters:
title
- the title of this expression- Since:
- 100.3.0
-
getReturnType
Gets the return type of this expression.- Returns:
- the return type of this expression
- Since:
- 100.3.0
-
setReturnType
Sets the return type of this expression.- Parameters:
returnType
- the return type of this expression- Throws:
IllegalArgumentException
- if returnType is null- Since:
- 100.3.0
-