Object <- Viewable <- Stamp <- AttributeStamp <- IntegerAttributeStamp |
|
|
ChangedContainers FindMatchingAttributeStamp RemoveConflicts |
Class IntegerAttributeStamp defines no new attributes.
Fields
| Field | Type | |
|---|---|---|
| Viewable: | superview: | Viewable |
| relativeOrigin: | Dot | |
| contentSize: | Dot | |
| viewFlags: | Flags | |
| labelStyle: | TextStyle | |
| color: | Unsigned | |
| altColor: | Unsigned | |
| shadow: | Shadow | |
| sound: | Playable | |
| Stamp: | image: | Image |
| AttributeStamp: | targetAttribute: | OperationNumber |
| targetClass: | ClassNumber | |
| applyMode: | Unsigned | |
| IntegerAttributeStamp: | comingValue: | Unsigned |
| goingValue: | Unsigned |
instance IntegerAttributeStamp 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; targetAttribute: nilOperation; targetClass: nilClass; applyMode: 0; comingValue: 0; goingValue: 0; end instance;
Define Class IntegerAttributeStamp; inherits from AttributeStamp; field comingValue: Unsigned; // value to set when stamp is placed field goingValue: Unsigned; // value to set when stamp is removed (if no others found) overrides ChangedContainers; // sets target attribute of new container to comingValue, and of old container to goingValue overrides FindMatchingAttributeStamp; // finds another stamp on a card that matches this one // required to override abstract method overrides RemoveConflicts; // call to hop to trash attribute stamps that conflict with this one // required to override abstract method end class;