MyUserPrefsController Class Reference
[Controler classes]

User preferences controller class. More...

#import <MyUserPrefsController.h>

Inheritance diagram for MyUserPrefsController:

Inheritance graph
[legend]
Collaboration diagram for MyUserPrefsController:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(void) - getNumericPref:forKey:minValue:maxValue:
 Read a numeric preference with bounds.
(IBAction) - resetPrefs:
 Reset the preferences to their "factory defaults" values.
(IBAction) - applyChanges:
 Save the new preferences and leave the preferences panel open.
(IBAction) - cancelChanges:
 Close the preferences panel and discard its preferences.
(IBAction) - confirmChanges:
 Save the new preferences and close the preferences panel.
(IBAction) - showPrefs:
 Open the preferences panel.

Static Public Member Functions

(MyUserPrefsController *) + getUserPref
 Get the singleton instance.


Detailed Description

User preferences controller class.

This class is a singleton object controlling the user preferences window


Member Function Documentation

+ (MyUserPrefsController *) getUserPref  

Get the singleton instance.

Returns:
The only instance of MyUserPrefsController

- (void) getNumericPref: (double*)  pref
forKey: (NSString*)  key
minValue: (double)  minv
maxValue: (double)  maxv 

Read a numeric preference with bounds.

Parameters:
pref The value to set
key The preference key
minv Minimum value
maxv Maximum value If the saved value is outside the range, it is clipped to the minimum or maximum value.

- (IBAction) resetPrefs: (id)  sender  

Reset the preferences to their "factory defaults" values.

Parameters:
sender The button

- (IBAction) applyChanges: (id)  sender  

Save the new preferences and leave the preferences panel open.

Parameters:
sender The button

- (IBAction) cancelChanges: (id)  sender  

Close the preferences panel and discard its preferences.

Parameters:
sender The button

- (IBAction) confirmChanges: (id)  sender  

Save the new preferences and close the preferences panel.

Parameters:
sender The button

- (IBAction) showPrefs: (id)  sender  

Open the preferences panel.

Parameters:
sender The main menu "preferences" item


The documentation for this class was generated from the following files:
Generated on Sat Mar 22 17:44:54 2008 for Lynkeos by  doxygen 1.5.4