public class Image extends Object
| Constructor and Description |
|---|
Image() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentDescription()
Returns the content description for use by screen readers.
|
String |
getLargeSourceUrl()
Returns the large source URL.
|
String |
getSmallSourceUrl()
Returns the small source URL.
|
List<ImageInstance> |
getSources()
Gets the list of image instances.
|
void |
setContentDescription(String contentDescription)
Sets the content description for use by screen readers.
|
void |
setLargeSourceUrl(String largeSourceUrl)
Deprecated.
|
void |
setSmallSourceUrl(String smallSourceUrl)
Deprecated.
|
void |
setSources(List<ImageInstance> sources)
Sets the list of image instances.
|
public String getContentDescription()
public void setContentDescription(String contentDescription)
contentDescription - the content description for use by screen readerspublic String getSmallSourceUrl()
@Deprecated public void setSmallSourceUrl(String smallSourceUrl)
setSources(List)
instead .smallSourceUrl - the small source URLpublic String getLargeSourceUrl()
@Deprecated public void setLargeSourceUrl(String largeSourceUrl)
setSources(List)
instead .largeSourceUrl - the large source URLpublic List<ImageInstance> getSources()
public void setSources(List<ImageInstance> sources)
sources - the list of image instancesCopyright © 2017. All rights reserved.