Class FieldsPopupElement
- java.lang.Object
-
- com.esri.arcgisruntime.mapping.popup.PopupElement
-
- com.esri.arcgisruntime.mapping.popup.FieldsPopupElement
-
public final class FieldsPopupElement extends PopupElement
Represents a pop-up element of type fields that defines an array ofPopupField
displayed as a table within a pop-up for a geoelement.- Since:
- 100.14.0
- See Also:
PopupElement
-
-
Constructor Summary
Constructors Constructor Description FieldsPopupElement(Iterable<PopupField> fields)
Creates a new fields pop-up element with the given collection ofPopupField
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Gets an optional string describing the element in detail.List<PopupField>
getFields()
Gets a mutable list ofPopupField
defining how each field participates in the pop-up window.String
getTitle()
Gets an optional string indicating what the element represents.void
setDescription(String description)
Sets a string describing the element in detail.void
setTitle(String title)
Sets a string indicating what the element represents.
-
-
-
Constructor Detail
-
FieldsPopupElement
public FieldsPopupElement(Iterable<PopupField> fields)
Creates a new fields pop-up element with the given collection ofPopupField
.- Parameters:
fields
- a collection ofPopupField
defining how each field participates in the pop-up window. When an empty collection is passed, this element will display whatever is specified in thePopupDefinition.getFields()
.- Throws:
IllegalArgumentException
- if fields is null- Since:
- 100.14.0
-
-
Method Detail
-
getDescription
public String getDescription()
Gets an optional string describing the element in detail.- Returns:
- an optional string describing the element in detail
- Since:
- 100.14.0
- See Also:
setDescription(String)
-
setDescription
public void setDescription(String description)
Sets a string describing the element in detail.- Parameters:
description
- a string describing the element in detail- Throws:
IllegalArgumentException
- if description is null- Since:
- 100.14.0
- See Also:
getDescription()
-
getFields
public List<PopupField> getFields()
Gets a mutable list ofPopupField
defining how each field participates in the pop-up window.- Returns:
- a mutable list of
PopupField
defining how each field participates in the pop-up window - Since:
- 100.14.0
-
getTitle
public String getTitle()
Gets an optional string indicating what the element represents.- Returns:
- an optional string indicating what the element represents
- Since:
- 100.14.0
- See Also:
setTitle(String)
-
setTitle
public void setTitle(String title)
Sets a string indicating what the element represents.- Parameters:
title
- a string indicating what the element represents- Throws:
IllegalArgumentException
- if title is null- Since:
- 100.14.0
- See Also:
getTitle()
-
-