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).void
setCreatedTime
(Date createdTime) Date this tag was created.void
X coordinate (as a percentage of distance from left vs. width).void
Y coordinate (as a percentage of distance from top vs. height).Methods inherited from class com.restfb.types.NamedFacebookType
getName, setName
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods 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:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- Date this tag was created.
-
setCreatedTime
Date this tag was created.
-