Lynkeos
Instance Methods | Class Methods | Protected Attributes | List of all members
MyCustomAlert Class Reference

Custom alert panel. More...

#import <MyCustomAlert.h>

Inheritance diagram for MyCustomAlert:
Inheritance graph
[legend]
Collaboration diagram for MyCustomAlert:
Collaboration graph
[legend]

Instance Methods

(IBAction) - confirmAction:
 Called when the OK button is pressed. More...
 

Class Methods

(void) + runAlert:withText:
 Display the alert panel, and run modal until dialog end. More...
 

Protected Attributes

IBOutlet NSPanel_panel
 The panel itself.
 
IBOutlet NSTextView_text
 Text displayed in the alert panel.
 
IBOutlet NSButton_okButton
 The OK (and only) button.
 

Detailed Description

Custom alert panel.

Method Documentation

- (IBAction) confirmAction: (id)  sender

Called when the OK button is pressed.

Parameters
senderThe button which called this action

References _panel.

+ (void) runAlert: (NSString*)  title
withText: (NSString*)  text 

Display the alert panel, and run modal until dialog end.

Parameters
titleAlert window title
textText to display in the alert panel

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