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


CyberContainerExtension

Superclasses
CyberExtension --> ODExtension --> ODRefCntObject --> ODObject
Subclasses
none
The CyberContainerExtension class defines extra behaviors for parts that will act as dialog box containers and embed other parts as panels.

Description

The CyberContainerExtension class is an abstract class you can subclass to create an extension that allows a part to behave as a dialog box that embeds other parts as panels. For example, the Cyberdog Connect To and Preferences dialog boxes use embedded panels. The panels to be embedded are parts that are extended by subclasses of the CyberPanelExtension class (page 277).

Note
The Cyberdog Connect To dialog box has an additional extension, subclassed from CyberItemPromptExtension, which provides the Cyberdog item specified by the user in the Connect To dialog box. u
The Cyberdog Connect To and Preferences dialog boxes are fully implemented. If you add a new service to Cyberdog, you need to subclass the panel extension classes CyberConnectExtension and CyberPrefsExtension to handle the connection information and preferences for the new service. However, you do not need to subclass CyberContainerExtension unless you want to create your own custom dialog box container for panel parts.

Methods

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

Enabling Buttons

EnableOKButton
Enables or disables the OK button in this dialog box container.
Closing

FlashCancelButton
Highlights the Cancel button in this dialog box container and closes the container.
FlashOKButton
Highlights the OK button in this dialog box container and closes the container.
Acquiring and Losing Focus

TabIn
Notifies this dialog box container that it has received the keyboard focus.

Methods
EnableOKButton
FlashCancelButton
FlashOKButton
TabIn

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996