com.restfb.types
Class Photo.Tag

java.lang.Object
  extended by com.restfb.types.FacebookType
      extended by com.restfb.types.NamedFacebookType
          extended by com.restfb.types.Photo.Tag
All Implemented Interfaces:
Serializable
Enclosing class:
Photo

public static class Photo.Tag
extends NamedFacebookType

Represents the Tag Graph API type.

Since:
1.5
Author:
Mark Allen
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
 
Constructor Summary
Photo.Tag()
           
 
Method Summary
 Date getCreatedTime()
          Date this tag was created.
 Integer getX()
          X coordinate (as a percentage of distance from left vs.
 Integer getY()
          Y coordinate (as a percentage of distance from top vs.
 
Methods inherited from class com.restfb.types.NamedFacebookType
getName
 
Methods inherited from class com.restfb.types.FacebookType
equals, getId, getMetadata, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Photo.Tag

public Photo.Tag()
Method Detail

getX

public Integer getX()
X coordinate (as a percentage of distance from left vs. width).

Returns:
X coordinate (as a percentage of distance from left vs. width).

getY

public Integer getY()
Y coordinate (as a percentage of distance from top vs. height).

Returns:
Y coordinate (as a percentage of distance from top vs. height).

getCreatedTime

public Date getCreatedTime()
Date this tag was created.

Returns:
Date this tag was created.


RestFB 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.