|
Mac Dev Center
Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access Disc Recording UI Framework Reference
|
DREraseSetupPanel |
| Inherits from: | |
| Declared In: |
Manages a panel that allows users to specify the parameters of an erase.
This class supports choosing the device to use and what sort of erase to perform.
When the panel is closed by the user choosing to erase the media in the device, the device is exclusively held by the application for its own use to prevent possible bad or corrupt media from causing problem for the rest of the system. This means that if the erase object obtained from the panel is not used to do an erase, the device will remain unavailable to other applications until the exclusive access is released.
Creates and returns a new DRErase object that's configured to erase the disc in the currently selected device.
Invoked when the user clicks one of the panel's erase type radio buttons.
Returns an instance of a erase setup panel.
eraseObject |
Creates and returns a new DRErase object that's configured to erase the disc in the currently selected device.
- (DRErase*) eraseObject;
A new DRErase object.
The new DRErase object is configured based on the settings in the setup panel when the user clicks the OK button.
Do not invoke this method within a modal session (runSetupPanel or beginSetupSheetForWindow:modalDelegate:didEndSelector:contextInfo:) because the erase object information is only updated just before the modal session ends.
eraseType: |
Invoked when the user clicks one of the panel's erase type radio buttons.
- (IBAction) eraseType:(id) sender;
senderThe object that invoked this method.
setupPanel |
Returns an instance of a erase setup panel.
+ (DREraseSetupPanel*) setupPanel;
An erase setup panel.
Last Updated: 2009-08-13