inherits from Stamp;
Magic Cap defines class StickyNote for small stamps that zoom open when touched into annotation windows that containe other viewables. Users can get sticky notes from the stamper.
Remember that if the documentation and the software (especially the definition files) disagree, always trust the software.
Instantiate: rarely Subclass: rarely Call its methods: rarely
You probably won't ever create an object or a subclass of class StickyNote. The information in this chapter is provided for debugging and curiosity only.
Class StickyNote defines the following methods:
Method | Description |
---|---|
CanChangeContainers |
Overridden to disallow being put in another note's annotation window. |
Draw | Overridden to draw reduced view of annotation window. |
MatchText | Overridden to check annotation for matching text. |
MatchViewable | Overridden to check annotation for matching viewable. |
SetOrigin | Overridden to redraw bounds of annotation if on screen. |
Swallow | Overridden to swallow anything except coupons. |
Tap | Overridden to show or hide annotation. |
AddToContainer | Overridden to encode annotation. |
ExtractFromContainer | Overridden to extract annotation. |
Class StickyNote defines the following fields:
Field | Type | Description |
---|---|---|
Inherited from SingleLinkable | ||
next | Object | Next item in view list |
Inherited from Linkable | ||
previous | Object | Previous item in view list |
Inherited from Viewable | ||
superview | Viewable | Container for this object |
subview | Viewable | Object contained by this object |
relativeOrigin | Dot | Origin relative to superview |
contentSize | Dot | Size of content rectangle |
viewFlags | Flags | Property settings |
labelStyle | TextStyle | Text style of object's label |
color | Color | Color of object's content |
shadow | Shadow | Shadow drawn with object |
sound | Sound | Sound associated with object |
Inherited from Stamp | ||
image | Image | Image displayed by stamp |
Defined by StickyNote | ||
annotation | Object | Annotation window associated with sticky note |
overrides CanChangeContainers Call: rarely Override: sometimes
Class StickyNote overrides CanChangeContainers to prevent putting sticky notes into the annotation windows of other sticky notes.
overrides Draw Call: rarely Override: sometimes
Class StickyNote overrides Draw to show the first few words of text of the annotation window in the sticky note.
overrides MatchText Call: rarely Override: sometimes
Class StickyNote overrides MatchText to check the annotation text for a match after calling its inherited implementation.
overrides MatchViewable Call: rarely Override: sometimes
Class StickyNote overrides MatchViewable to check the annotation viewables for a match after calling its inherited implementation.
overrides SetOrigin Call: rarely Override: sometimes
Class StickyNote overrides SetOrigin to redraw the bounds of the annotation if it is on the screen.
overrides Swallow Call: rarely Override: sometimes
Class StickyNote overrides Swallow to accept any objects except coupons. Swallowed objects are added to the annotation window as subviews. If the user is holding down the option key, coupons are swallowed.
overrides Tap Call: rarely Override: sometimes
Class StickyNote overrides Tap to show or hide the annotation window when the user taps.
overrides AddToContainer Call: rarely Override: sometimes
Class StickyNote overrides AddToContainer to encode the objects in the annotation window after calling its inherited implementation.
overrides ExtractFromContainer Call: rarely Override: sometimes