Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberPartExtension


SetCyberItem

Assigns the specified Cyberdog item to this display part.

void SetCyberItem (in CyberItem item, 
in ParameterSet openParams);
item
The Cyberdog item to be displayed.
openParams
The ParameterSet object to use in the opening process, if any; otherwise, kODNULL.
DISCUSSION
This method is called by the OpenCyberItem method; this method should store a reference to the specified Cyberdog item. The superclass implementation of this method releases the old Cyberdog item, if any, and acquires the new Cyberdog item. Subsequent calls to GetCyberItem will return the specified Cyberdog item.

If you subclass CyberPartExtension and override this method, your override must call its inherited method.

SEE ALSO
The GetCyberItem method (page 285).
The OpenCyberItem method (page 290).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996