inherits from Stamp
Announcements that are active but closed are represented by tiny images called announcement stamps. These stamps are drawn inside a small viewable container on the name bar called the carousel. Magic Cap defines class AnnouncementStamp to represent these stamps.
Instantiate: rarely Subclass: rarely Call its methods: never
You might create subclasses of this class if you wanted to create your own specialized kind of announcement stamp.
Class AnnouncementStamp defines the following methods:
Method | Description |
---|---|
Announcement |
Get the announcement associated with this stamp. |
SetAnnouncement | Set the announcement associated with this stamp. |
PublicAddress | Get the public address window associated with this stamp. |
SetPublicAddress | Set the public address window associated with this stamp. |
Action | Display the closed announcement when the user touches. |
Class AnnouncementStamp 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 | |
Defined by AnnouncementStamp | ||
announcement | Announcement | |
publicAddress | PublicAddress |
attribute Announcement: Announcement // operation Announcement():Announcement // operation SetAnnouncement(newValue) Call: rarely Override: rarely
The attribute Announcement indicates the announcement associated with this stamp.
attribute PublicAddress: PublicAddress // operation PublicAddress():PublicAddress // operation SetPublicAddress(newValue) Call: rarely Override: rarely
The attribute PublicAddress indicates the public address window associated with this stamp.
overrides Action Call: rarely Override: sometimes