Package com.restfb.types
Class Photo.Tag
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.Photo.Tag
- All Implemented Interfaces:
HasCreatedTime,Serializable
- Enclosing class:
- Photo
Represents the Tag Graph API type.
- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDate this tag was created.getX()X coordinate (as a percentage of distance from left vs. width).getY()Y coordinate (as a percentage of distance from top vs. height).voidsetCreatedTime(Date createdTime) Date this tag was created.voidX coordinate (as a percentage of distance from left vs. width).voidY coordinate (as a percentage of distance from top vs. height).Methods inherited from class com.restfb.types.NamedFacebookType
getName, setNameMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setTypeMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Tag
public Tag()
-
-
Method Details
-
getX
X coordinate (as a percentage of distance from left vs. width).- Returns:
- X coordinate (as a percentage of distance from left vs. width).
-
setX
X coordinate (as a percentage of distance from left vs. width). -
getY
Y coordinate (as a percentage of distance from top vs. height).- Returns:
- Y coordinate (as a percentage of distance from top vs. height).
-
setY
Y coordinate (as a percentage of distance from top vs. height). -
getCreatedTime
Date this tag was created.- Specified by:
getCreatedTimein interfaceHasCreatedTime- Returns:
- Date this tag was created.
-
setCreatedTime
Date this tag was created.
-