Object <- Viewable <- Stamp <- Icon <- ContainerIcon |
|
|
AboutToHide AboutToShow Action CanAcceptCoupon Draw Notice |
Press SortContents Swallow TapPressCriteria UpdateTrayImage |
|
AutoMove |
| Field | Type | |
|---|---|---|
| Viewable: | superview: | Viewable |
| relativeOrigin: | Dot | |
| contentSize: | Dot | |
| viewFlags: | Flags | |
| labelStyle: | TextStyle | |
| color: | Unsigned | |
| altColor: | Unsigned | |
| shadow: | Shadow | |
| sound: | Playable | |
| Stamp: | image: | Image |
| HasDestination: | destination: | Viewable |
| Icon: | nativeContainer: | Viewable |
| nativePosition: | Dot | |
| ContainerIcon: | images: | ObjectList |
| lastCount: | Unsigned | |
| indicateNewContents: | Boolean | |
| superDraggable: | Boolean | |
| showContainerName: | Boolean |
instance ContainerIcon tag; relativeOrigin: <0.0,0.0>; contentSize: <0.0,0.0>; viewFlags: 0x00000000; labelStyle: nilObject; color: 0; altColor: 0; shadow: nilObject; sound: nilObject; image: nilObject; destination: nilObject; nativeContainer: nilObject; nativePosition: <0.0,0.0>; images: nilObject; lastCount: 0; indicateNewContents: false; superDraggable: false; showContainerName: false; end instance;
Define Class ContainerIcon; inherits from Icon; field images: ObjectList, weak; field lastCount: Unsigned; field indicateNewContents: Boolean; // indicate when new contents appear in container (but no code seems to reference this?) field superDraggable: Boolean; field showContainerName: Boolean; overrides AboutToShow, AboutToHide; overrides Action, Press; overrides AutoMove; overrides CanAcceptCoupon; // rejects image coupons overrides Draw; overrides Notice; overrides Swallow; overrides TapPressCriteria; operation SortContents(newContainer: Object), safe; operation UpdateTrayImage(); end class;