API  1.0.0
CPUserNotificationCenter Class Reference

The CPUserNotificationCenter class delivers user notifications to the user from applications or helper applications. More...

#import <CPUserNotificationCenter.h>

+ Inheritance diagram for CPUserNotificationCenter:

Instance Methods

(CPArray) - deliveredNotifications 
 
(void) - deliverNotification: 
 
(id) - init 
 
(void) - removeAllDeliveredNotifications 
 
(void) - removeDeliveredNotification: 
 
(void) - removeScheduledNotification: 
 
(CPArray) - scheduledNotifications 
 
(void) - scheduleNotification: 
 
(void) - setDelegate: 
 
(void) - setDeliveredNotifications: 
 
(void) - setScheduledNotifications: 
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context: 
 
(void) - applyChange:toKeyPath: 
 
(id) - autorelease 
 
(id) - awakeAfterUsingCoder: 
 
(void) - awakeFromCib 
 
(void) - bind:toObject:withKeyPath:options: 
 
(Class) - classForCoder 
 
(Class) - classForKeyedArchiver 
 
(CPString) - className 
 
(id) - copy 
 
(void) - dealloc 
 
(CPString) - description 
 
(CPDictionary) - dictionaryWithValuesForKeys: 
 
(void) - didChange:valuesAtIndexes:forKey: 
 
(void) - didChangeValueForKey: 
 
(void) - didChangeValueForKey:withSetMutation:usingObjects: 
 
(void) - doesNotRecognizeSelector: 
 
(CPArray) - exposedBindings 
 
(id) - forwardingTargetForSelector: 
 
(void) - forwardInvocation: 
 
(unsigned) - hash 
 
(BOOL) - implementsSelector: 
 
(CPDictionary) - infoForBinding: 
 
(BOOL) - isEqual: 
 
(BOOL) - isKindOfClass: 
 
(BOOL) - isMemberOfClass: 
 
(BOOL) - isProxy 
 
(IMP) - methodForSelector: 
 
(CPMethodSignature) - methodSignatureForSelector: 
 
(id) - mutableArrayValueForKey: 
 
(id) - mutableArrayValueForKeyPath: 
 
(id) - mutableCopy 
 
(id) - mutableSetValueForKey: 
 
(id) - mutableSetValueForKeyPath: 
 
(id) - performSelector: 
 
(id) - performSelector:withObject: 
 
(void) - performSelector:withObject:afterDelay: 
 
(void) - performSelector:withObject:afterDelay:inModes: 
 
(id) - performSelector:withObject:withObject: 
 
(id) - performSelector:withObjects: 
 
(void) - release 
 
(void) - removeObserver:forKeyPath: 
 
(id) - replacementObjectForArchiver: 
 
(id) - replacementObjectForCoder: 
 
(id) - replacementObjectForKeyedArchiver: 
 
(BOOL) - respondsToSelector: 
 
(id) - retain 
 
(id) - self 
 
(void) - setValue:forKey: 
 
(void) - setValue:forKeyPath: 
 
(void) - setValue:forUndefinedKey: 
 
(void) - setValuesForKeysWithDictionary: 
 
(CPString) - UID 
 
(void) - unbind: 
 
(Class) - valueClassForBinding: 
 
(id) - valueForKey: 
 
(id) - valueForKeyPath: 
 
(id) - valueForUndefinedKey: 
 
(void) - willChange:valuesAtIndexes:forKey: 
 
(void) - willChangeValueForKey: 
 
(void) - willChangeValueForKey:withSetMutation:usingObjects: 
 

Class Methods

(CPNotificationCenter) + defaultUserNotificationCenter 
 
- Class Methods inherited from CPObject
(BOOL) + accessInstanceVariablesDirectly 
 
(id) + alloc 
 
(id) + allocWithCoder: 
 
(BOOL) + automaticallyNotifiesObserversForKey: 
 
(void) + cancelPreviousPerformRequestsWithTarget: 
 
(void) + cancelPreviousPerformRequestsWithTarget:selector:object: 
 
(Class) + class 
 
(BOOL) + conformsToProtocol: 
 
(void) + exposeBinding: 
 
(void) + initialize 
 
(IMP) + instanceMethodForSelector: 
 
(BOOL) + instancesImplementSelector: 
 
(BOOL) + instancesRespondToSelector: 
 
(BOOL) + isBindingExclusive: 
 
(BOOL) + isSubclassOfClass: 
 
(CPSet) + keyPathsForValuesAffectingValueForKey: 
 
(void) + load 
 
(id) + new 
 
(void) + object:performSelector:withObject:afterDelay:inModes: 
 
(void) + setVersion: 
 
(Class) + superclass 
 
(int) + version 
 

Detailed Description

The CPUserNotificationCenter class delivers user notifications to the user from applications or helper applications.

Definition at line 2 of file CPUserNotificationCenter.h.

Method Documentation

◆ defaultUserNotificationCenter()

+ (CPNotificationCenter) defaultUserNotificationCenter
implementation

Returns the user's notification center

Definition at line 65 of file CPUserNotificationCenter.j.

◆ deliveredNotifications()

- (CPArray) deliveredNotifications
implementation

Synthesized accessor method.

Provided by category CPUserNotificationCenter(CPSynthesizedAccessors).

Definition at line 294 of file CPUserNotificationCenter.j.

◆ deliverNotification:()

- (void) deliverNotification: (CPUserNotification)  aNotification
implementation

Deliver the given user notification

Parameters
aNotificationthe user notification

Definition at line 162 of file CPUserNotificationCenter.j.

◆ init()

- (id) init
implementation

Initializes the receiver

Returns
the initialized receiver

Reimplemented from CPObject.

Definition at line 73 of file CPUserNotificationCenter.j.

◆ removeAllDeliveredNotifications()

- (void) removeAllDeliveredNotifications
implementation

Remove all delivered user notifications from the user notification center.

Definition at line 179 of file CPUserNotificationCenter.j.

◆ removeDeliveredNotification:()

- (void) removeDeliveredNotification: (CPUserNotification)  aNotification
implementation

Remove a delivered user notification from the user notification center.

Parameters
aNotificationthe user notification

Definition at line 171 of file CPUserNotificationCenter.j.

◆ removeScheduledNotification:()

- (void) removeScheduledNotification: (CPUserNotification)  anUserNotification
implementation

Removes the given user notification for the scheduled notifications.

Parameters
anUserNotificationthe user notification

Definition at line 144 of file CPUserNotificationCenter.j.

◆ scheduledNotifications()

- (CPArray) scheduledNotifications
implementation

Synthesized accessor method.

Provided by category CPUserNotificationCenter(CPSynthesizedAccessors).

Definition at line 310 of file CPUserNotificationCenter.j.

◆ scheduleNotification:()

- (void) scheduleNotification: (CPUserNotification)  anUserNotification
implementation

Schedules the given user notification

Parameters
anUserNotificationthe user notification

Definition at line 117 of file CPUserNotificationCenter.j.

◆ setDelegate:()

- (void) setDelegate: (id <CPUserNotificationCenterDelegate>)  aDelegate
implementation

Definition at line 91 of file CPUserNotificationCenter.j.

◆ setDeliveredNotifications:()

- (void) setDeliveredNotifications: (CPArray)  aValue
implementation

Synthesized accessor method.

Provided by category CPUserNotificationCenter(CPSynthesizedAccessors).

Definition at line 302 of file CPUserNotificationCenter.j.

◆ setScheduledNotifications:()

- (void) setScheduledNotifications: (CPArray)  aValue
implementation

Synthesized accessor method.

Provided by category CPUserNotificationCenter(CPSynthesizedAccessors).

Definition at line 318 of file CPUserNotificationCenter.j.


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