public class

PopupImageMediaValue

extends PopupMediaValue
java.lang.Object
   ↳ com.esri.core.map.popup.PopupMediaValue
     ↳ com.esri.core.map.popup.PopupImageMediaValue

Class Overview

The PopupImageMediaValue class extends PopupMediaValue and represents the image type of media.

Summary

Public Constructors
PopupImageMediaValue()
Public Methods
boolean equals(Object obj)
String getLinkURL()
Returns the link URL of this image media.
String getSourceURL()
Returns the source URL of this image media.
PopupMediaValue.VALUE_TYPE getType()
Returns the PopupMediaValue.VALUE_TYPE, in this case IMAGE;
int hashCode()
boolean isScaleImage()
Returns whether to scale image to fit its parent.
void setLinkURL(String linkURL)
Sets the link URL of this image media.
void setScaleImage(boolean scaleImage)
Sets whether to scale image to fit its parent.
void setSourceURL(String sourceURL)
Sets the source URL of this image media.
String toString()
Returns string representation of the class.
[Expand]
Inherited Methods
From class com.esri.core.map.popup.PopupMediaValue
From class java.lang.Object

Public Constructors

public PopupImageMediaValue ()

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public String getLinkURL ()

Returns the link URL of this image media.

Returns
String linkURL

public String getSourceURL ()

Returns the source URL of this image media.

Returns
String sourceURL

public PopupMediaValue.VALUE_TYPE getType ()

Returns the PopupMediaValue.VALUE_TYPE, in this case IMAGE;

Returns
PopupMediaValue.VALUE_TYPE VALUE_TYPE.IMAGE

public int hashCode ()

Returns
int

public boolean isScaleImage ()

Returns whether to scale image to fit its parent.

Returns
boolean true to scale, false otherwise

public void setLinkURL (String linkURL)

Sets the link URL of this image media.

Parameters
linkURL String: The link URL of the image

public void setScaleImage (boolean scaleImage)

Sets whether to scale image to fit its parent.

Parameters
scaleImage boolean: true to scale, false otherwise

public void setSourceURL (String sourceURL)

Sets the source URL of this image media.

Parameters
sourceURL String: The source URL of the image

public String toString ()

Returns string representation of the class. The format and content of the returned string is not part of the contract of the method and is subject to change in any future release or patch without further notice.

Returns
String