WizardKit  0.1
Instance Methods | List of all members
NSObject(WKWizardPanelDelegate) Category Reference

This informal protocol defines what methods the delegate of a wizard panel may or must implement to control it's appearance to the user. More...

Instance Methods

(NSView *) - wizardPanel:viewForStage:
 Requests a wizard panel's delegate to provide a view which will be put into the panel's main area when in a certain stage. More...
 
(NSView *) - wizardPanel:initialFirstResponderForStage:
 Requests the wizard panel's delegate to provide a view which will be set as the panel's initial first responder at the beginning of a stage. More...
 

Detailed Description

This informal protocol defines what methods the delegate of a wizard panel may or must implement to control it's appearance to the user.

Definition at line 65 of file WKWizardPanel.h.

Method Documentation

◆ wizardPanel:initialFirstResponderForStage:

- (NSView *) wizardPanel: (WKWizardPanel *)  sender
initialFirstResponderForStage: (NSString *)  aStageName 

Requests the wizard panel's delegate to provide a view which will be set as the panel's initial first responder at the beginning of a stage.

Overriding this method is optional.

Returns
A view object which will be set as the panel's initial first responder. Returning ‘nil’ indicates ‘no initial first responder’.

Definition at line 29 of file WKWizardPanel.m.

◆ wizardPanel:viewForStage:

- (NSView *) wizardPanel: (WKWizardPanel *)  sender
viewForStage: (NSString *)  aStageName 

Requests a wizard panel's delegate to provide a view which will be put into the panel's main area when in a certain stage.

The delegate object will receive this message for every stage switch, i.e. the returned view isn't cached, so that the delegate can change the view which will be used in the same stage. Overriding this method is mandatory.

Parameters
senderThe wizard panel which sent this message.
aStageNameThe stage in which the panel will use the returned value.
Returns
A view object, which will be put into the panel when in the specified stage.

Definition at line 29 of file WKWizardPanel.m.


The documentation for this category was generated from the following files: