java.lang.Object
com.esri.arcgisruntime.mapping.popup.PopupElement
- All Implemented Interfaces:
JsonSerializable
- Direct Known Subclasses:
AttachmentsPopupElement
,ExpressionPopupElement
,FieldsPopupElement
,MediaPopupElement
,RelationshipPopupElement
,TextPopupElement
,UnsupportedPopupElement
Represents an element that is displayed in a pop-up for a geoelement.
- Since:
- 100.14.0
- See Also:
-
Property Summary
TypePropertyDescriptionA value indicating whether the popup element is contained in thePopup.getEvaluatedElements()
. -
Method Summary
Modifier and TypeMethodDescriptionA value indicating whether the popup element is contained in thePopup.getEvaluatedElements()
.static PopupElement
Creates a PopupElement instance from a JSON string.Gets unknown data from the source JSON.Gets unsupported data from the source JSON.boolean
Gets the value of theevaluated
property.toJson()
Serializes this object to a JSON string.
-
Property Details
-
evaluated
A value indicating whether the popup element is contained in thePopup.getEvaluatedElements()
.- Since:
- 200.1.0
- See Also:
-
-
Method Details
-
evaluatedProperty
A value indicating whether the popup element is contained in thePopup.getEvaluatedElements()
.- Returns:
- the
evaluated
property - Since:
- 200.1.0
- See Also:
-
isEvaluated
public boolean isEvaluated()Gets the value of theevaluated
property.- Property description:
- A value indicating whether the popup element is contained in the
Popup.getEvaluatedElements()
. - Returns:
- the value of the
evaluated
property - Since:
- 200.1.0
- See Also:
-
getUnknownJson
Description copied from interface:JsonSerializable
Gets unknown data from the source JSON.Unknown JSON is a Map of values not defined in the ArcGIS specification used to create this object but found in the source JSON. If the object is written back to JSON, any unknown JSON data is not persisted. The ArcGIS specification may be for a web map, web scene, REST API, and so on.
- Specified by:
getUnknownJson
in interfaceJsonSerializable
- Returns:
- an unmodifiable Map containing unknown data from the source JSON
-
getUnsupportedJson
Description copied from interface:JsonSerializable
Gets unsupported data from the source JSON.Unsupported JSON is a Map of values defined in the ArcGIS specification used to create this object but not currently used in this API. If the object is written back to JSON, any unsupported JSON data is persisted. The ArcGIS specification may be from a web map, web scene, REST API, and so on.
- Specified by:
getUnsupportedJson
in interfaceJsonSerializable
- Returns:
- an unmodifiable Map containing unsupported data from the source JSON
-
fromJson
Creates a PopupElement instance from a JSON string.- Parameters:
json
- a JSON string that represents a PopupElement- Returns:
- a PopupElement instance
- Throws:
IllegalArgumentException
- if json is null or empty- Since:
- 200.0.0
-
toJson
Description copied from interface:JsonSerializable
Serializes this object to a JSON string. Note that unknown JSON is omitted from the serialized string.- Specified by:
toJson
in interfaceJsonSerializable
- Returns:
- a JSON string
-