com. kelvinluck. flickr.NoteClass to describe a note on a photo on Flickr. Instances of this class are created to hold notes that are attached to Photos returned from flickr.com Currently very bare bones - this class will be expanded AuthorKelvin Luck < kelvin at kelvinluck dot com > Summary
_notes
A private static Object containing Note objects. Used by getNote to insure that only one Note is created for each note id from flickr.com Note
Don’t call directly, use getNote to make sure that there is only one Note instance for each id as returned by flickr.com getNote
Get’s a Note object for the given id. Consults _notes to make sure that only one Note instance is created for each note id from flickr.com Parameters
|
This note’s if
public var id: Number
The person who wrote this note
public var author: Person
The contents of this note
public var text: String
The x coordinate of this note
public var x: Number
The y coordinate of this note
public var y: Number
The width of this note
public var width: Number
The height of this note
public var height: Number
A private static Object containing Note objects.
private static var _notes: Object
private function Note( id: Number )
Get’s a Note object for the given id.
public static function getNote( id: Number ):Note