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


CyberPanelExtension

Superclasses
CyberExtension --> ODExtension --> ODRefCntObject --> ODObject
Subclasses
CyberConnectExtension, CyberPrefsExtension
The CyberPanelExtension class defines extra behaviors for parts that will be embedded as panels in dialog box containers, such as the Connect To dialog box or the Preferences dialog box.

Description

A panel is part that is embedded in a dialog box container. In Cyberdog, panels are parts with extensions subclassed from CyberPanelExtension. A panel is embedded in a dialog box container, a part extended with a subclass of CyberContainerExtension.

The Cyberdog Connect To dialog box contains panels with extensions subclassed from CyberConnectExtension. The Cyberdog Preferences dialog box contain panels with extensions subclassed from CyberPrefsExtension. Both CyberConnectExtension and CyberPrefsExtension are subclasses of CyberPanelExtension.

CyberPanelExtension is an abstract superclass that you can subclass to create embeddable panels with custom behaviors. However, if you want to create a custom Connect To or Preferences panel, do not subclass CyberPanelExtension directly; instead, you should subclass either CyberConnectExtension or CyberPrefsExtension.

Methods

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

Setting the Containing Part

SetContainingPart
Embeds this panel in the specified dialog box.
Acquiring and Losing Focus

TabIn
Notifies this panel that it has received the keyboard focus.
TabOut
Notifies this panel that it has lost the keyboard focus.
Enabling Buttons

EnableOKButton
Enables or disables the OK button of this panel's dialog box.
Closing the Containing Part

FlashCancelButton
Highlights the Cancel button of this panel's dialog box and closes the dialog box.
FlashOKButton
Highlights the OK button of this panel's dialog box and closes the dialog box.

Methods
EnableOKButton
FlashCancelButton
FlashOKButton
SetContainingPart
TabIn
TabOut

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996