Class PopupExpression
- java.lang.Object
-
- com.esri.arcgisruntime.mapping.popup.PopupExpression
-
public final class PopupExpression extends Object
Defines an Arcade expression within a pop-up.- Since:
- 100.3.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PopupExpression.ReturnType
The type of the result returned by an Arcade expression.
-
Constructor Summary
Constructors Constructor Description PopupExpression()
Creates a new instance of an empty PopupExpression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExpression()
Gets the Arcade expression defined in this expression.String
getName()
Gets the name of this expression.PopupExpression.ReturnType
getReturnType()
Gets the return type of this expression.String
getTitle()
Gets the title of this expression.void
setExpression(String expression)
Sets the Arcade expression defined in this expression.void
setName(String name)
Sets the name of this expression.void
setReturnType(PopupExpression.ReturnType returnType)
Sets the return type of this expression.void
setTitle(String title)
Sets the title of this expression.
-
-
-
Method Detail
-
getExpression
public String getExpression()
Gets the Arcade expression defined in this expression.- Returns:
- an Arcade expression string
- Since:
- 100.3.0
-
setExpression
public void setExpression(String expression)
Sets the Arcade expression defined in this expression.- Parameters:
expression
- the Arcade expression string- Since:
- 100.3.0
-
getName
public String getName()
Gets the name of this expression.- Returns:
- the name of this expression
- Since:
- 100.3.0
-
setName
public void setName(String name)
Sets the name of this expression.- Parameters:
name
- the name of this expression- Since:
- 100.3.0
-
getTitle
public String getTitle()
Gets the title of this expression.- Returns:
- the title of this expression
- Since:
- 100.3.0
-
setTitle
public void setTitle(String title)
Sets the title of this expression.- Parameters:
title
- the title of this expression- Since:
- 100.3.0
-
getReturnType
public PopupExpression.ReturnType getReturnType()
Gets the return type of this expression.- Returns:
- the return type of this expression
- Since:
- 100.3.0
-
setReturnType
public void setReturnType(PopupExpression.ReturnType returnType)
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
-
-