Represents an element that is displayed in a pop-up for a geoelement. More...
Header: | #include <PopupElement> |
Since: | Esri::ArcGISRuntime 100.14 |
Inherits: | Esri::ArcGISRuntime::Object and Esri::ArcGISRuntime::JsonSerializable |
Inherited By: | Esri::ArcGISRuntime::AttachmentsPopupElement, Esri::ArcGISRuntime::ExpressionPopupElement, Esri::ArcGISRuntime::FieldsPopupElement, Esri::ArcGISRuntime::MediaPopupElement, Esri::ArcGISRuntime::RelationshipPopupElement, Esri::ArcGISRuntime::TextPopupElement, and Esri::ArcGISRuntime::UnsupportedPopupElement |
Public Functions
virtual | ~PopupElement() override |
bool | isEvaluated() const |
Esri::ArcGISRuntime::PopupElementType | popupElementType() const |
Reimplemented Public Functions
virtual QString | toJson() const override |
virtual QJsonObject | unknownJson() const override |
virtual QJsonObject | unsupportedJson() const override |
Static Public Members
Esri::ArcGISRuntime::PopupElement * | fromJson(const QString &json, QObject *parent = nullptr) |
Detailed Description
See also PopupElementType, PopupDefinition::elements, and Popup::evaluatedElements.
Member Function Documentation
[override virtual]
PopupElement::~PopupElement ()
Destructor.
[static, since Esri::ArcGISRuntime 200.1]
Esri::ArcGISRuntime::PopupElement *PopupElement::fromJson (const QString &json, QObject *parent = nullptr)
Converts a JSON string and returns an object.
- json - The JSON string.
- parent The parent object (optional).
This function was introduced in Esri::ArcGISRuntime 200.1.
See also JsonSerializable.
[since Esri::ArcGISRuntime 200.3]
bool PopupElement::isEvaluated () const
Returns a value indicating whether the popup element is contained in the Popup::evaluatedElements.
This function was introduced in Esri::ArcGISRuntime 200.3.
Esri::ArcGISRuntime::PopupElementType PopupElement::popupElementType () const
Returns the type of instantiated pop-up element.
[override virtual, since Esri::ArcGISRuntime 200.1]
QString PopupElement::toJson () const
Reimplements: JsonSerializable::toJson() const.
Converts an object and returns a JSON string.
This function was introduced in Esri::ArcGISRuntime 200.1.
See also JsonSerializable.
[override virtual, since Esri::ArcGISRuntime 200.1]
QJsonObject PopupElement::unknownJson () const
Reimplements: JsonSerializable::unknownJson() const.
Returns the unknown data from the source JSON.
Unknown JSON is a dictionary of values that was in the source JSON but was unparsed by this API.
This function was introduced in Esri::ArcGISRuntime 200.1.
See also JsonSerializable.
[override virtual, since Esri::ArcGISRuntime 200.1]
QJsonObject PopupElement::unsupportedJson () const
Reimplements: JsonSerializable::unsupportedJson() const.
Returns the unsupported data from the source JSON.
Unsupported JSON is a dictionary of values that are supported by web maps, but not exposed through this API.
This function was introduced in Esri::ArcGISRuntime 200.1.
See also JsonSerializable.