|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jickr.Note
public class Note
All the infomation about a Note attached to a Photo at Flickr. Notes in Flickr are areas of a photo associated with text.
Coordinates for the points returned are in pixels, based on the 500px image size shown on individual photo pages.
Photo.getNotes()
Method Summary | |
---|---|
void |
delete()
Delete this note. |
boolean |
equals(java.lang.Object o)
Check if this Note is equal to the object supplied. |
java.awt.Rectangle |
getArea()
Get the area covered by the note. |
User |
getAuthor()
Get the Author of this note. |
int |
getHeight()
Get the height of the note. |
java.lang.String |
getID()
Get the unique identifier for this note. |
java.lang.String |
getText()
Get the text of the note. |
int |
getWidth()
Get the width of the note. |
int |
getX()
Get the X origin point for the note. |
int |
getY()
Get the Y origin point for the note. |
int |
hashCode()
Return the HashCode of this Note, based on ID. |
void |
update(java.awt.Rectangle area,
java.lang.String text)
Modify the content and area of a Note. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getID()
public User getAuthor()
public int getX()
public int getY()
public int getWidth()
public int getHeight()
public java.awt.Rectangle getArea()
public java.lang.String getText()
public void update(java.awt.Rectangle area, java.lang.String text) throws FlickrException
Modify the content and area of a Note. Coordinates for the area are in pixels, based on the 500px image size shown on individual photo pages.
Requires authentication with WRITE permission.
area
- Rectangle describing the area covered by the note. Must not be null.text
- Text of the note. Must not be null.
FlickrException
- on any error.public void delete() throws FlickrException
Delete this note. Further method calls on this object are invalid after this call.
Requires authentication with WRITE privleges.
FlickrException
- on any error.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to compare.
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |