Mac Developer Library

Developer

DRBurnSetupPanel Class Reference

Options
Deployment Target:

On This Page
Language:

DRBurnSetupPanel

Conforms To


Import Statement


Swift

import DiscRecordingUI

Objective-C

@import DiscRecordingUI;

Availability


Available in OS X v10.2 and later.

Manages a panel that allows users to specify the parameters of an burn.

This class supports choosing the the device to use, whether or not to verify the burned data and how to handle the burned disc when it completes.

  • Invoked when the user clicks the panel's appendable checkbox.

    Declaration

    Swift

    @IBAction func appendable(_ sender: AnyObject!)

    Objective-C

    - (IBAction)appendable:(id)sender

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Swift

    import DiscRecordingUI

    Availability

    Available in OS X v10.2 and later.

  • Creates and returns a new DRBurn object that's configured to write data to the currently selected device.

    Declaration

    Swift

    func burnObject() -> DRBurn!

    Objective-C

    - (DRBurn *)burnObject

    Return Value

    A new DRBurn object.

    Discussion

    The new DRBurn 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 burn object information is only updated just before the modal session ends.

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Swift

    import DiscRecordingUI

    Availability

    Available in OS X v10.2 and later.

  • Invoked when the user clicks the panel's burn speed popup button.

    Declaration

    Swift

    @IBAction func burnSpeed(_ sender: AnyObject!)

    Objective-C

    - (IBAction)burnSpeed:(id)sender

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Swift

    import DiscRecordingUI

    Availability

    Available in OS X v10.2 and later.

  • Invoked when the user clicks one of the panel's completion action radio buttons.

    Declaration

    Swift

    @IBAction func completionAction(_ sender: AnyObject!)

    Objective-C

    - (IBAction)completionAction:(id)sender

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Swift

    import DiscRecordingUI

    Availability

    Available in OS X v10.2 and later.

  • Invoked when the user clicks the panel's expand button.

    Declaration

    Swift

    @IBAction func expand(_ sender: AnyObject!)

    Objective-C

    - (IBAction)expand:(id)sender

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Swift

    import DiscRecordingUI

    Availability

    Available in OS X v10.2 and later.

  • Specifies whether the user can choose to leave the disc appendable.

    Declaration

    Swift

    func setCanSelectAppendableMedia(_ flag: Bool)

    Objective-C

    - (void)setCanSelectAppendableMedia:(BOOL)flag

    Parameters

    flag

    YES to enable the appendable checkbox, NO to disable.

    Discussion

    This method controls whether the appendable checkbox is enabled.

    If the data being writen to disc does not lend itself to having more data appended on to it, you can disable the ability of the user to leave the disc open.

    This method must be called before the panel is displayed.

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Swift

    import DiscRecordingUI

    Availability

    Available in OS X v10.2 and later.

  • Specifies whether the user can choose to make a test burn.

    Declaration

    Swift

    func setCanSelectTestBurn(_ flag: Bool)

    Objective-C

    - (void)setCanSelectTestBurn:(BOOL)flag

    Parameters

    flag

    YES to show the test burn checkbox, NO to hide it.

    Discussion

    This method controls whether a checkbox should be added to the receiver that allows the user to set the burn to be a test burn. By default, the test burn button is not displayed.

    This method must be called before the panel is displayed.

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Swift

    import DiscRecordingUI

    Availability

    Available in OS X v10.2 and later.

  • Sets the title for the receiver's default button to title.

    Declaration

    Swift

    func setDefaultButtonTitle(_ title: String!)

    Objective-C

    - (void)setDefaultButtonTitle:(NSString *)title

    Discussion

    Normally, the default button is “Burn”.

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Swift

    import DiscRecordingUI

    Availability

    Available in OS X v10.2 and later.

  • Invoked when the user clicks the panel's test burn checkbox.

    Declaration

    Swift

    @IBAction func testBurn(_ sender: AnyObject!)

    Objective-C

    - (IBAction)testBurn:(id)sender

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Swift

    import DiscRecordingUI

    Availability

    Available in OS X v10.2 and later.

  • Invoked when the user clicks the panel's verify burn checkbox.

    Declaration

    Swift

    @IBAction func verifyBurn(_ sender: AnyObject!)

    Objective-C

    - (IBAction)verifyBurn:(id)sender

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Swift

    import DiscRecordingUI

    Availability

    Available in OS X v10.2 and later.

  • Creates and return an instance of a burn setup panel.

    Declaration

    Objective-C

    + (DRBurnSetupPanel *)setupPanel

    Return Value

    A pointer to the newly created DRBurnSetupPanel.

    Import Statement

    Objective-C

    @import DiscRecordingUI;

    Availability

    Available in OS X v10.2 and later.