Class PopupMedia


  • public final class PopupMedia
    extends Object
    Represents the media that is displayed in a pop-up for a geo-element.
    Since:
    100.0.0
    • Constructor Detail

      • PopupMedia

        public PopupMedia()
        Constructs an empty PopupMedia.
        Since:
        100.0.0
    • Method Detail

      • getTitle

        public String getTitle()
        Gets the title that is displayed for the media.
        Returns:
        the title that is displayed for the media
        Since:
        100.0.0
      • setTitle

        public void setTitle​(String title)
        Sets the title that is displayed for the media.
        Parameters:
        title - the title that is displayed for the media
        Since:
        100.0.0
      • getType

        public PopupMedia.Type getType()
        Gets the type of media.
        Returns:
        the type of media
        Since:
        100.0.0
      • getCaption

        public String getCaption()
        Gets the caption that is displayed for the media.
        Returns:
        the caption that is displayed for the media
        Since:
        100.0.0
      • setCaption

        public void setCaption​(String caption)
        Sets the caption that is displayed for the media.
        Parameters:
        caption - the caption that is displayed for the media
        Since:
        100.0.0
      • getValue

        public PopupMediaValue getValue()
        Gets the optional media info value that is depending on the type of media.
        Returns:
        the optional media info value
        Since:
        100.0.0
      • setValue

        public void setValue​(PopupMediaValue popupMediaValue)
        Sets the optional media info value that is depending on the type of media.
        Parameters:
        popupMediaValue - the optional media info value
        Throws:
        IllegalArgumentException - if the popupMediaValue is null
        Since:
        100.0.0