← develop-10 9205 May 1992

develop-10 9205 May 1992

From the originals

13 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.

PDF page 12

• The elements of an object are the other objects (in other words, data) that it contains. For example, a drawing application contains one or more documents, and each document may contain several rectangles and a picture or two. When the Registry describes an object, it lists all the element classes of an object, but a particular object may contain only some (or no) elements of each class at run time. (The number of elements can change during run time. For example, the number of words in a window could increase due to user typing or an incoming Apple event.) For more detail on the difference between a property and an element, see “Properties and Elements.” Figure 1 shows three object classes that we’ll use throughout the article; they’ve been derived from the Apple Event Registry and simplified for the purpose of illustration. OBJECT SPECIFIERS Most of the Apple events defined in the Apple Event Registry contain one or more object specifiers as parameters. An object specifier is similar to the instructions you might give someone who’s looking for a particular house: turn left at the first signal, then look for Jones Street and turn right, then travel down to the third house on the right. Object specifiers can also be used to specify a group of objects—for example, every green house on Jones Street. d e v e l o p May 1992 In addition to the core suite, the Apple Event Registry includes other specialized suites for text processing, database manipulation, manipulating QuickDraw graphics, and the like. Application developers can define their own custom Apple event object classes and suites and submit them to the Apple Events Developer Association for standardization.• 10 pClass pDefaultType pName plsModified cFile cRectangle Create Element Get Data Set Data Delete Open Close Print Save Properties Elements Apple Events cDocument pClass pDefaultType pBounds (None) Create Element Get Data Set Data Delete cRectangle pClass pDefaultType pFont pSize pStyle cCharacter Create Element Get Data Set Data Delete cWord Figure 1 Some Hypothetical Apple Event Object Classes

Reading notes: Column-based text layout with a figure of object class tables may affect reading order.

Printed dates
May 1992
Languages
English