|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NSKeyValueBindingCreation
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 |
NSKeyValueBindingCreation._static_
|
Method Summary | |
---|---|
void |
bind_toObject_withKeyPath_options(NSString binding,
ObjCObject observable,
NSString keyPath,
NSDictionary options)
Bindings are considered to be a property of the object which is bound (the object the following two methods are sent to) and all information related to bindings should be retained by the object; all standard bindings on AppKit objects (views, cells, table columns, controllers) unbind their bindings automatically when they are released, but if you create key-value bindings for other kind of objects, you need to make sure that you remove those bindings when you release them (observed objects don't retain their observers, so controllers/model objects might continue referencing and messaging the objects that was bound to them). |
NSArray |
exposedBindings()
for a new key exposed through this method, the default implementation simply falls back to key-value coding Original signature : -(NSArray*)exposedBindings from NSKeyValueBindingCreation native declaration : NSKeyValueBinding.h:30 |
NSDictionary |
infoForBinding(NSString binding)
Returns a dictionary with information about a binding or nil if the binding is not bound (this is mostly for use by subclasses which want to analyze the existing bindings of an object) - the dictionary contains three key/value pairs: NSObservedObjectKey: object bound, NSObservedKeyPathKey: key path bound, NSOptionsKey: dictionary with the options and their values for the bindings. |
NSArray |
optionDescriptionsForBinding(NSString aBinding)
Original signature : -(NSArray*)optionDescriptionsForBinding:(NSString*) from NSKeyValueBindingCreation native declaration : NSKeyValueBinding.h:54 |
void |
unbind(NSString binding)
Original signature : -(void)unbind:(NSString*) from NSKeyValueBindingCreation native declaration : NSKeyValueBinding.h:36 |
ObjCClass |
valueClassForBinding(NSString binding)
optional - mostly for matching transformers Original signature : -(Class)valueClassForBinding:(NSString*) from NSKeyValueBindingCreation native declaration : NSKeyValueBinding.h:31 |
Methods inherited from interface org.rococoa.ObjCObject |
---|
id |
Method Detail |
---|
NSArray exposedBindings()
-(NSArray*)exposedBindings
ObjCClass valueClassForBinding(NSString binding)
-(Class)valueClassForBinding:(NSString*)
void bind_toObject_withKeyPath_options(NSString binding, ObjCObject observable, NSString keyPath, NSDictionary options)
-(void)bind:(NSString*) toObject:(id) withKeyPath:(NSString*) options:(NSDictionary*)
void unbind(NSString binding)
-(void)unbind:(NSString*)
NSDictionary infoForBinding(NSString binding)
-(NSDictionary*)infoForBinding:(NSString*)
NSArray optionDescriptionsForBinding(NSString aBinding)
-(NSArray*)optionDescriptionsForBinding:(NSString*)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |