inherits from Annotation; inherits from HasButtonInTitleBar;
When the user touches a sticky note, the note zooms open to reveal a window filled with the note's contents. This window is a member of class Annotation. In Magic Cap 1.5, the annotation is an object of class ErasableAnnotation, a subclass of Annotation. If the erasable annotation contains scribbles, Magic Cap puts an erase button in the title bar. The erase button goes away if there are no scribbles in the annotation.
Programming information
Instantiate: rarely
Subclass: rarely
Call its methods: never
When the user gets a new sticky note from the stamper, Magic Cap automatically creates the note's associated annotation object, so you probably won't ever create one of your own.
Class ErasableAnnotation defines the following methods:
Method | Description |
---|---|
ChangedContents |
Shows or hides button as appropriate. |
Class ErasableAnnotation defines no fields.
overrides ChangedContents Call: rarely Override: sometimes
Class ErasableAnnotation overrides ChangedContents to show or hide the erase button as appropriate. If there are scribbles in the annotation, the button appears; otherwise, it does not appear.