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


CyberNotebookExtension

Superclasses
CyberExtension --> ODExtension --> ODRefCntObject --> ODObject
Subclasses
none
The CyberNotebookExtension class defines extra behaviors for a part that is to be used as a notebook.

Description

The CyberNotebookExtension class defines an extension that allows a part to be used as a notebook. CyberNotebookExtension is an abstract superclass that you must subclass and implement to create your own custom notebook part. However, Cyberdog provides a fully implemented notebook; to use that Cyberdog notebook, you do not need to subclass this class.

The Cyberdog notebook implementation is divided between two parts: a notebook manager and a notebook part. The Cyberdog notebook manager (kNotebookManagerKind) is composed of an object of an ODPart subclass extended with a subclass of CyberNotebookExtension. The notebook manager does not provide a user interface. The notebook user interface is provided by the notebook part (kNotebookKind), an object of an ODPart subclass.

You never need to call CyberNotebookExtension methods directly; the CyberSession class provides the methods you should use to interact with the notebook.

Methods

This section presents summary descriptions of the CyberNotebookExtension methods grouped according to purpose, followed by detailed descriptions.

Initialization and Cleanup

Cleanup
Shuts down this notebook.
Adding Items to the Notebook

AddCyberItemsToNotebook
Adds a set of Cyberdog items to this notebook.
AddCyberItemToNotebook
Adds a Cyberdog item to this notebook.
Accessing Cyberdog Items

CountCyberItems
Retrieves the number of Cyberdog items in this notebook.
GetNthCyberItem
Retrieves a Cyberdog item displayed in this notebook.
Showing the Notebook

IsNotebookWindowShown
Tests whether this notebook's window is currently displayed.
ShowNotebookWindow
Displays this notebook's window.
The Address Browser

PromptForAddresses
Displays the Cyberdog address browser.

Methods
AddCyberItemsToNotebook
AddCyberItemToNotebook
Cleanup
CountCyberItems
GetNthCyberItem
IsNotebookWindowShown
PromptForAddresses
ShowNotebookWindow

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996