Important: The information in this document is obsolete and should not be used for new development.
CyberContainerExtension
The
- Superclasses
CyberExtension --> ODExtension --> ODRefCntObject --> ODObject
- Subclasses
- none
CyberContainerExtension
class defines extra behaviors for parts that will act as dialog box containers and embed other parts as panels.Description
TheCyberContainerExtension
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 theCyberPanelExtension
class (page 277).
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
- 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. uCyberConnectExtension
andCyberPrefsExtension
to handle the connection information and preferences for the new service. However, you do not need to subclassCyberContainerExtension
unless you want to create your own custom dialog box container for panel parts.Methods
This section presents summary descriptions of theCyberContainerExtension
methods grouped according to purpose, followed by detailed descriptions.Enabling Buttons
Closing
EnableOKButton
- Enables or disables the OK button in this dialog box container.
Acquiring and Losing Focus
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.
TabIn
- Notifies this dialog box container that it has received the keyboard focus.
Methods
- EnableOKButton
- FlashCancelButton
- FlashOKButton
- TabIn