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 Summary

      Constructors 
      Constructor Description
      FieldsPopupElement​(java.lang.Iterable<PopupField> fields)
      Creates a new fields pop-up element with the given collection of PopupField.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Gets an optional string describing the element in detail.
      java.util.List<PopupField> getFields()
      Gets a mutable list of PopupField defining how each field participates in the pop-up window.
      java.lang.String getTitle()
      Gets an optional string indicating what the element represents.
      void setDescription​(java.lang.String description)
      Sets a string describing the element in detail.
      void setTitle​(java.lang.String title)
      Sets a string indicating what the element represents.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FieldsPopupElement

        public FieldsPopupElement​(java.lang.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:
        java.lang.IllegalArgumentException - if fields is null
        Since:
        100.14.0
    • Method Detail

      • getDescription

        public java.lang.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​(java.lang.String description)
        Sets a string describing the element in detail.
        Parameters:
        description - a string describing the element in detail
        Throws:
        java.lang.IllegalArgumentException - if description is null
        Since:
        100.14.0
        See Also:
        getDescription()
      • getFields

        public java.util.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 java.lang.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​(java.lang.String title)
        Sets a string indicating what the element represents.
        Parameters:
        title - a string indicating what the element represents
        Throws:
        java.lang.IllegalArgumentException - if title is null
        Since:
        100.14.0
        See Also:
        getTitle()