public class FacebookAgent.Photo
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
FacebookAgent.Photo.Image
A representation of the photo at a particular size.
|
| Constructor and Description |
|---|
Photo(java.lang.String id) |
Photo(java.lang.String id,
java.lang.String thumbnailURLString,
int width) |
| Modifier and Type | Method and Description |
|---|---|
FacebookAgent.Photo.Image |
addImage(java.lang.String imageSourceURLString,
int width)
Adds an image.
|
FacebookAgent.Photo.Image |
addImage(java.lang.String imageURLString,
int width,
int height)
Adds an image.
|
boolean |
equals(java.lang.Object otherObject)
Returns true if this photo equals the other photo.
|
java.net.URL |
getBestImageURL(int minWidth,
int minHeight)
Returns the URL of the image is best suited to the
supplied required dimensions.
|
java.net.URL |
getFullURL()
Returns the URL of the full image.
|
java.lang.String |
getImageURLString() |
java.lang.String |
getKeyIfParent() |
java.lang.String |
getLabel() |
ISelectableItem |
getSelectableItem() |
int |
getSelectedCount(java.util.LinkedHashMap<java.lang.String,ISelectableItem> selectableItemTable) |
java.net.URL |
getThumbnailURL()
Returns the URL of the thumbnail image.
|
int |
hashCode()
Returns a hash code for this photo.
|
void |
loadThumbnailImageInto(android.content.Context context,
android.widget.ImageView imageView) |
public Photo(java.lang.String id)
public Photo(java.lang.String id,
java.lang.String thumbnailURLString,
int width)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic java.lang.String getImageURLString()
public void loadThumbnailImageInto(android.content.Context context,
android.widget.ImageView imageView)
public java.lang.String getLabel()
public java.lang.String getKeyIfParent()
public ISelectableItem getSelectableItem()
public int getSelectedCount(java.util.LinkedHashMap<java.lang.String,ISelectableItem> selectableItemTable)
public FacebookAgent.Photo.Image addImage(java.lang.String imageURLString, int width, int height) throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic FacebookAgent.Photo.Image addImage(java.lang.String imageSourceURLString, int width) throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic java.net.URL getThumbnailURL()
public java.net.URL getFullURL()
public java.net.URL getBestImageURL(int minWidth,
int minHeight)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object otherObject)
equals in class java.lang.Object