|
Mac Dev Center
Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access Disc Recording UI Framework Reference
|
DRBurnProgressPanel |
| Inherits from: | |
| Declared In: |
Manages a panel that displays progress while burning data to media.
A DRBurnProgressPanel object manages a panel that displays and updates burn progress. The burn panel is responsible for begining the burn.
The burn is begun and a progress panel is displayed on screen by calling beginProgressSheetForBurn:layout:modalForWindow: if a sheet interface is desired, or beginProgressPanelForBurn:layout: for a non-modal panel.
A DRBurnProgressPanel sends a burnProgressPanel:burnDidFinish: message to it's delegate when the burn completes. This method allows the delegate to take over end-of-burn handling from the burn progress panel to customize error dialogs or user notification.
Presents the progress panel on screen and begins the burn process.
Presents the progress panel as a sheet and begins the burn process.
Returns the description string displayed in the panel.
Creates and returns an instance of the burn progress panel.
Sets the panel text displayed to the user.
Sets the vebosity of the progress feedback.
Invoked when the user clicks the panel's stop button.
Returns the vebosity of the panel.
beginProgressPanelForBurn:layout: |
Presents the progress panel on screen and begins the burn process.
burnThe object performing the burn.
layoutThe data to be burned to disc. See the DRBurn documentation for information on valid layouts.
This method returns control to the caller after it has displayed the progress sheet and begun the burn. Once the method has returned the caller can perform other operations while the burn continues.
beginProgressSheetForBurn:layout:modalForWindow: |
Presents the progress panel as a sheet and begins the burn process.
- (void) beginProgressSheetForBurn:(DRBurn*)burn layout:(id)layout modalForWindow:(NSWindow *)docWindow;
burnThe object performing the burn.
layoutThe data to be burned to disc. See the DRBurn documentation for information on valid layouts.
docWindowThe window the sheet will be attached to. If docWindow is not nil, the panel slides down as a sheet running as a document modal window. If owner is nil, this is an error.
This method returns control to the caller after it has displayed the progress sheet and begun the burn. Once the method has returned the caller can perform other operations while the burn continues.
description |
Returns the description string displayed in the panel.
- (NSString*) description;
An NSString containing the text of the description.
If no description is explicitly set, this method will return the standard text string.
progressPanel |
Creates and returns an instance of the burn progress panel.
+ (DRBurnProgressPanel*) progressPanel;
A pointer to the newly created DRBurnProgressPanel.
setDescription: |
Sets the panel text displayed to the user.
descriptionThe text to display.
The panel's description is typically a short text string that gives an indication to the user what operation is being performed. If no description is explicitly set, the progress panel uses a standard text string suitable to the burn.
setVerboseProgressStatus: |
Sets the vebosity of the progress feedback.
verboseA BOOL value indicating how detailed the status panel feedback should be.
If verbose is YES, the panel will update status for every change. If verbose is NO, the panel will filter some status messages and only update for major changes. The default for the panel is filter the status messages.
stopBurn: |
Invoked when the user clicks the panel's stop button.
- (IBAction) stopBurn:(id)sender;
verboseProgressStatus |
Returns the vebosity of the panel.
- (BOOL) verboseProgressStatus;
A BOOL value indicating how detailed the status panel feedback is.
This method will return YES if the panel will update status for every change and NO if the panel will filter some status messages and only update for major changes.
Last Updated: 2009-08-13