Important: The information in this document is obsolete and should not be used for new development.
CyberPanelExtension
The
- Superclasses
CyberExtension --> ODExtension --> ODRefCntObject --> ODObject
- Subclasses
CyberConnectExtension
,CyberPrefsExtension
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 fromCyberPanelExtension
. A panel is embedded in a dialog box container, a part extended with a subclass ofCyberContainerExtension
.The Cyberdog Connect To dialog box contains panels with extensions subclassed from
CyberConnectExtension
. The Cyberdog Preferences dialog box contain panels with extensions subclassed fromCyberPrefsExtension
. BothCyberConnectExtension
andCyberPrefsExtension
are subclasses ofCyberPanelExtension
.
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 subclassCyberPanelExtension
directly; instead, you should subclass eitherCyberConnectExtension
orCyberPrefsExtension
.Methods
This section presents summary descriptions of theCyberPanelExtension
methods grouped according to purpose, followed by detailed descriptions.Setting the Containing Part
Acquiring and Losing Focus
SetContainingPart
- Embeds this panel in the specified dialog box.
Enabling Buttons
TabIn
- Notifies this panel that it has received the keyboard focus.
TabOut
- Notifies this panel that it has lost the keyboard focus.
Closing the Containing Part
EnableOKButton
- Enables or disables the OK button of this panel's dialog box.
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