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


GetCyberItem

Retrieves the Cyberdog item whose referenced content is displayed by this part.

CyberItem GetCyberItem ();
return value
The CyberItem object.
DISCUSSION
This method is called by the CyberSession::FindCyberItemWindow and CyberSession::SelectCyberItemWindow methods to retrieve the Cyberdog item whose referenced content the part is displaying. The superclass implementation returns the Cyberdog item last set by the SetCyberItem method. If you are going to hold a reference to the Cyberdog item returned by this method, you must follow a call to this method by a call to the object's Acquire method.

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

SEE ALSO
The CanShowCyberItem method (page 284).
The SetCyberItem method (page 291).
The CyberSession::FindCyberItemWindow method (page 359).
The CyberSession::SelectCyberItemWindow method (page 373).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996