Class PopupMedia
- java.lang.Object
-
- com.esri.arcgisruntime.mapping.popup.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPopupMedia.TypeType of media in a pop-up.
-
Constructor Summary
Constructors Constructor Description PopupMedia()Constructs an empty PopupMedia.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCaption()Gets the caption that is displayed for the media.StringgetTitle()Gets the title that is displayed for the media.PopupMedia.TypegetType()Gets the type of media.PopupMediaValuegetValue()Gets the optional media info value that is depending on the type of media.voidsetCaption(String caption)Sets the caption that is displayed for the media.voidsetTitle(String title)Sets the title that is displayed for the media.voidsetType(PopupMedia.Type type)Sets the type of media.voidsetValue(PopupMediaValue popupMediaValue)Sets the optional media info value that is depending on the type of media.
-
-
-
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
-
setType
public void setType(PopupMedia.Type type)
Sets the type of media.- Parameters:
type- the type of media- Throws:
IllegalArgumentException- if the type is null- 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
-
-