org.rococoa.cocoa.foundation.categories
Interface NSKeyValueObserverRegistration

All Superinterfaces:
ObjCObject

public interface NSKeyValueObserverRegistration
extends ObjCObject

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static interface NSKeyValueObserverRegistration._static_
           
 
Method Summary
 void addObserver_forKeyPath_options_context(NSObject observer, NSString keyPath, int options, Pointer context)
          Register or deregister as an observer of the value at a key path relative to the receiver.
 void removeObserver_forKeyPath(NSObject observer, NSString keyPath)
          Original signature : -(void)removeObserver:(NSObject*) forKeyPath:(NSString*)
from NSKeyValueObserverRegistration native declaration : NSKeyValueObserving.h:97
 
Methods inherited from interface org.rococoa.ObjCObject
id
 

Method Detail

addObserver_forKeyPath_options_context

void addObserver_forKeyPath_options_context(NSObject observer,
                                            NSString keyPath,
                                            int options,
                                            Pointer context)
Register or deregister as an observer of the value at a key path relative to the receiver. The options determine what is included in observer notifications and when they're sent, as described above, and the context is passed in observer notifications as described above.
Original signature : -(void)addObserver:(NSObject*) forKeyPath:(NSString*) options:(NSKeyValueObservingOptions) context:(void*)
from NSKeyValueObserverRegistration native declaration : NSKeyValueObserving.h:96

Parameters:
options - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSKeyValueObservingOptions

removeObserver_forKeyPath

void removeObserver_forKeyPath(NSObject observer,
                               NSString keyPath)
Original signature : -(void)removeObserver:(NSObject*) forKeyPath:(NSString*)
from NSKeyValueObserverRegistration native declaration : NSKeyValueObserving.h:97



Copyright © 2009. All Rights Reserved.