API  0.9.10
CPBinder Class Reference

#import <CPBinder.h>

+ Inheritance diagram for CPBinder:

Instance Methods

(BOOL) - continuouslyUpdatesValue
 
(BOOL) - handlesContentAsCompoundValue
 
(id) - initWithBinding:name:to:keyPath:options:from:
 
(void) - observeValueForKeyPath:ofObject:change:context:
 
(void) - raiseIfNotApplicable:forKeyPath:options:
 
(void) - reverseSetValueFor:
 
(id) - reverseTransformValue:withOptions:
 
(void) - setPlaceholderValue:withMarker:forBinding:
 
(void) - setValue:forBinding:
 
(void) - setValueFor:
 
(id) - source
 
(void) - suppressSpecificNotificationFromObject:keyPath:
 
(id) - transformValue:withOptions:
 
(void) - unsuppressSpecificNotificationFromObject:keyPath:
 
(id) - valueForBinding:
 
- 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:
 
(id) - init
 
(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

(CPDictionary+ allBindingsForObject:
 
(void) + exposeBinding:forClass:
 
(CPArray) + exposedBindingsForClass:
 
(CPBinder+ getBinding:forObject:
 
(CPDictionary+ infoForBinding:forObject:
 
(BOOL) + isBindingAllowed:forObject:
 
(void) + unbind:forObject:
 
(void) + unbindAllForObject:
 
- 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

Definition at line 2 of file CPBinder.h.

Method Documentation

◆ allBindingsForObject:()

+ (CPDictionary) allBindingsForObject: (id)  anObject
implementation

Definition at line 91 of file CPKeyValueBinding.j.

◆ continuouslyUpdatesValue()

- (BOOL) continuouslyUpdatesValue
implementation

Definition at line 312 of file CPKeyValueBinding.j.

◆ exposeBinding:forClass:()

+ (void) exposeBinding: (CPString aBinding
forClass: (Class)  aClass 
implementation

Definition at line 44 of file CPKeyValueBinding.j.

◆ exposedBindingsForClass:()

+ (CPArray) exposedBindingsForClass: (Class)  aClass
implementation

Definition at line 57 of file CPKeyValueBinding.j.

◆ getBinding:forObject:()

+ (CPBinder) getBinding: (CPString aBinding
forObject: (id)  anObject 
implementation

Definition at line 62 of file CPKeyValueBinding.j.

◆ handlesContentAsCompoundValue()

- (BOOL) handlesContentAsCompoundValue
implementation

Definition at line 318 of file CPKeyValueBinding.j.

◆ infoForBinding:forObject:()

+ (CPDictionary) infoForBinding: (CPString aBinding
forObject: (id)  anObject 
implementation

Definition at line 81 of file CPKeyValueBinding.j.

◆ initWithBinding:name:to:keyPath:options:from:()

- (id) initWithBinding: (CPString aBinding
name: (CPString aName
to: (id)  aDestination
keyPath: (CPString aKeyPath
options: (CPDictionary options
from: (id)  aSource 
implementation

Definition at line 132 of file CPKeyValueBinding.j.

◆ isBindingAllowed:forObject:()

+ (BOOL) isBindingAllowed: (CPString aBinding
forObject: (id)  anObject 
implementation

Definition at line 170 of file CPKeyValueBinding.j.

◆ observeValueForKeyPath:ofObject:change:context:()

- (void) observeValueForKeyPath: (CPString aKeyPath
ofObject: (id)  anObject
change: (CPDictionary changes
context: (id)  context 
implementation

Definition at line 247 of file CPKeyValueBinding.j.

◆ raiseIfNotApplicable:forKeyPath:options:()

- (void) raiseIfNotApplicable: (id)  aValue
forKeyPath: (CPString keyPath
options: (CPDictionary options 
implementation

Definition at line 188 of file CPKeyValueBinding.j.

◆ reverseSetValueFor:()

- (void) reverseSetValueFor: (CPString aBinding
implementation

Definition at line 228 of file CPKeyValueBinding.j.

◆ reverseTransformValue:withOptions:()

- (id) reverseTransformValue: (id)  aValue
withOptions: (CPDictionary options 
implementation

Definition at line 296 of file CPKeyValueBinding.j.

◆ setPlaceholderValue:withMarker:forBinding:()

- (void) setPlaceholderValue: (id)  aValue
withMarker: (CPString aMarker
forBinding: (CPString aBinding 
implementation

Reimplemented in CPImageViewValueBinder, and CPColorWellValueBinder.

Definition at line 218 of file CPKeyValueBinding.j.

◆ setValue:forBinding:()

- (void) setValue: (id)  aValue
forBinding: (CPString aBinding 
implementation

Reimplemented in CPImageViewValueBinder, and CPColorWellValueBinder.

Definition at line 223 of file CPKeyValueBinding.j.

◆ setValueFor:()

- (void) setValueFor: (CPString theBinding
implementation

Reimplemented in CPTableContentBinder, and CPTableColumnValueBinder.

Definition at line 197 of file CPKeyValueBinding.j.

◆ source()

- (id) source
implementation

Synthesized accessor method.

Provided by category CPBinder(CPSynthesizedAccessors).

Definition at line 976 of file CPKeyValueBinding.j.

◆ suppressSpecificNotificationFromObject:keyPath:()

- (void) suppressSpecificNotificationFromObject: (id)  anObject
keyPath: (CPString aKeyPath 
implementation

Use this to avoid reacting to the notifications coming out of a reverseTransformedValue:.

Definition at line 327 of file CPKeyValueBinding.j.

◆ transformValue:withOptions:()

- (id) transformValue: (id)  aValue
withOptions: (CPDictionary options 
implementation

Definition at line 260 of file CPKeyValueBinding.j.

◆ unbind:forObject:()

+ (void) unbind: (CPString aBinding
forObject: (id)  anObject 
implementation

Definition at line 96 of file CPKeyValueBinding.j.

◆ unbindAllForObject:()

+ (void) unbindAllForObject: (id)  anObject
implementation

Definition at line 116 of file CPKeyValueBinding.j.

◆ unsuppressSpecificNotificationFromObject:keyPath:()

- (void) unsuppressSpecificNotificationFromObject: (id)  anObject
keyPath: (CPString aKeyPath 
implementation

Use this to cancel suppressSpecificNotificationFromObject:keyPath:.

Definition at line 344 of file CPKeyValueBinding.j.

◆ valueForBinding:()

- (id) valueForBinding: (CPString aBinding
implementation

Reimplemented in CPImageViewValueBinder, and CPColorWellValueBinder.

Definition at line 242 of file CPKeyValueBinding.j.


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