inherits from GadgetWindow;
![]()
Magic Cap defines class ContentsChoicesWindow for windows that include a choice box. Magic Cap also defines several subclasses on ContentChoicesWindow, including BeamWindow, FaxWindow, FilingWindow, MailWindow, and PrintWindow.
Instantiate: never Subclass: rarely Call its methods: never
You probably won't ever create an object or a subclass of class MagicWindow. The information in this chapter is provided for debugging and curiosity only.
Class ContentChoicesWindow defines the following methods:
| Method | Description |
|---|---|
ContentChoices |
Returns the content choices for this window. |
| SetContentsChoices | Sets the content choices for this window. |
Class ContentChoicesWindow 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 HasBorder | ||
| border | Border | Framed border drawn around object |
| Inherited from Window | ||
| windowFlags | Flags | Stores various boolean attributes of the window |
| Inherited from TitledWindow | ||
| titleColor | Unsigned | RGB color for title box |
| titleHeight | Micron | Height of title box |
| dependents | ObjectList | List of dependent windows |
| Inherited from BalloonSpout | ||
| balloonDot | Dot | Cached dot position, used by Magic Cap |
| Inherited from GadgetWindow | ||
| target | Object | Target for this window |
| Defined by ContentChoicesWindow | ||
| contentChoices | Object | Choices in this window |
attribute ContentChoices: Object // operation ContentChoices():Object // operation SetContentChoices(newValue) Call: rarely Override: rarely
The attribute ContentChoices refers to the choice box object shown in the content choices window.