Class FieldsPopupElement


  • public final class FieldsPopupElement
    extends PopupElement
    Represents a pop-up element of type fields that defines an array of PopupField displayed as a table within a pop-up for a geoelement.
    Since:
    100.14.0
    See Also:
    PopupElement
    • Constructor Detail

      • FieldsPopupElement

        public FieldsPopupElement​(Iterable<PopupField> fields)
        Creates a new fields pop-up element with the given collection of PopupField.
        Parameters:
        fields - a collection of PopupField defining how each field participates in the pop-up window. When an empty collection is passed, this element will display whatever is specified in the PopupDefinition.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 of PopupField 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()