Object <- Viewable <- Control <- Switch <- ExchangeObjectSwitch |
|
|
AboutToShow PushLevel UpdateLevel |
|
OffValue OnValue |
| Field | Type | |
|---|---|---|
| Viewable: | superview: | Viewable |
| relativeOrigin: | Dot | |
| contentSize: | Dot | |
| viewFlags: | Flags | |
| labelStyle: | TextStyle | |
| color: | Unsigned | |
| altColor: | Unsigned | |
| shadow: | Shadow | |
| sound: | Playable | |
| HasBorder: | border: | Border |
| Control: | image: | Image |
| textStyle: | TextStyle | |
| controlFlags: | Unsigned | |
| level: | Fixed | |
| min: | Fixed | |
| max: | Fixed | |
| target: | Object | |
| targetAttribute: | OperationNumber | |
| ExchangeObjectSwitch: | onValue: | Object |
| offValue: | Object |
instance ExchangeObjectSwitch tag; relativeOrigin: <0.0,0.0>; contentSize: <0.0,0.0>; viewFlags: 0x00000000; labelStyle: nilObject; color: 0; altColor: 0; shadow: nilObject; sound: nilObject; border: nilObject; image: nilObject; textStyle: nilObject; controlFlags: 0; level: 0; min: 0; max: 0; target: nilObject; targetAttribute: nilOperation; onValue: nilObject; offValue: nilObject; end instance;
Define Class ExchangeObjectSwitch; inherits from Switch; field onValue: Object, getter, setter; field offValue: Object, getter, setter; attribute OnValue: Object; attribute OffValue: Object; overrides UpdateLevel; overrides PushLevel; overrides AboutToShow; end class;