|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.map.popup.PopupMediaInfo
public class PopupMediaInfo
The PopupMediaInfo class represents information about a media in the popup.
Nested Class Summary | |
---|---|
static class |
PopupMediaInfo.MEDIA_TYPE
Enumeration for popup media types. |
Constructor Summary | |
---|---|
PopupMediaInfo()
|
Method Summary | |
---|---|
static PopupMediaInfo |
fromJson(org.codehaus.jackson.JsonParser parser)
Constructs a PopupMediaInfo object from its JSON representation. |
String |
getCaption()
Returns the popup media's caption. |
String |
getTitle()
Returns the popup media's title. |
PopupMediaInfo.MEDIA_TYPE |
getType()
Returns the popup media's type. |
PopupMediaValue |
getValue()
Returns the popup media's value. |
void |
setCaption(String caption)
Sets the popup media's caption. |
void |
setTitle(String title)
Sets the popup media's title. |
void |
setType(PopupMediaInfo.MEDIA_TYPE type)
Sets the popup media's type. |
void |
setValue(PopupMediaValue value)
Sets the popup media's value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PopupMediaInfo()
Method Detail |
---|
public String getTitle()
public void setTitle(String title)
title
- The media's titlepublic String getCaption()
public void setCaption(String caption)
caption
- The media's captionpublic PopupMediaInfo.MEDIA_TYPE getType()
public void setType(PopupMediaInfo.MEDIA_TYPE type)
type
- The media's typepublic PopupMediaValue getValue()
public void setValue(PopupMediaValue value)
value
- The media's valuepublic static PopupMediaInfo fromJson(org.codehaus.jackson.JsonParser parser) throws Exception
parser
- A JSON parser object whose position is set at the "mediaInfos" node.
PopupMediaInfo
object.
Exception
- An exception that occurred during parsing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |