Object <- Viewable <- Stamp <- Icon |
|
|
Action DefaultReceiverForSelf PutAway Tap Touch |
|
AutoMove NativeContainer NativePosition |
| 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 |
instance Icon 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>; end instance;
Define Class Icon; inherits from Stamp, StarburstHighlight, Entrance; field nativeContainer: Viewable, weak, getter, setter; field nativePosition: Dot; overrides AutoMove, Tap, Touch, Action; overrides PutAway; overrides DefaultReceiverForSelf; attribute NativeContainer: Viewable; // This is the container that the viewable has a native position in. // It is also used when installing as a default destination, but // that only works if it is a member of CanContainEntrances. attribute NativePosition: Dot; // The native position field, which is used together with // NativeContainer to determine self's standard location icon. end class;