|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ID | |
---|---|
org.rococoa | |
org.rococoa.cocoa.foundation | |
org.rococoa.internal |
Uses of ID in org.rococoa |
---|
Subclasses of ID in org.rococoa | |
---|---|
static class |
Rococoa.ProxyID
|
Methods in org.rococoa that return ID | |
---|---|
static ID |
Foundation.cfRetain(ID id)
Retain the NSObject with id |
static ID |
Foundation.cfString(String s)
Return a CFString as an ID, toll-free bridged to NSString. |
static ID |
ID.fromLong(long value)
|
static ID |
Foundation.getClass(String className)
Get the ID of the NSClass with className |
static ID |
ID.getGlobal(String libraryName,
String globalVarName)
|
ID |
IDByReference.getValue()
|
ID |
ObjCObject.id()
|
static ID |
Foundation.newOCProxy(OCInvocationCallbacks callbacks)
Create an Objective-C object which delegates to callbacks when methods are invoked on it. |
static ID |
Foundation.sendReturnsID(ID receiver,
String selectorName,
Object... args)
Convenience as this happens a lot in tests. |
static ID |
Rococoa.wrap(Object javaObject)
Deprecated. because the OC proxy object is never released. Use Rococoa.proxy(java.lang.Object) instead. |
Methods in org.rococoa with parameters of type ID | ||
---|---|---|
static int |
Foundation.cfGetRetainCount(ID cfTypeRef)
|
|
static void |
Foundation.cfRelease(ID id)
Release the NSObject with id |
|
static ID |
Foundation.cfRetain(ID id)
Retain the NSObject with id |
|
static
|
Foundation.send(ID receiver,
Selector selector,
Class<T> returnType,
Object... args)
Send message with selector to receiver, passing args, expecting returnType. |
|
static
|
Foundation.send(ID receiver,
String selectorName,
Class<T> returnType,
Object... args)
Send message with selectorName to receiver, passing args, expecting returnType. |
|
static ID |
Foundation.sendReturnsID(ID receiver,
String selectorName,
Object... args)
Convenience as this happens a lot in tests. |
|
static void |
Foundation.sendReturnsVoid(ID receiver,
String selectorName,
Object... args)
Convenience as this happens a lot in tests. |
|
void |
IDByReference.setValue(ID value)
|
|
static String |
Foundation.toString(ID cfString)
|
|
static
|
Rococoa.wrap(ID id,
Class<T> javaClass)
Create a Java NSObject wrapping an existing Objective-C instance, represented by id. |
|
static
|
Rococoa.wrap(ID id,
Class<T> javaClass,
boolean retain)
|
Constructors in org.rococoa with parameters of type ID | |
---|---|
ID(ID anotherID)
|
|
IDByReference(ID value)
|
|
Rococoa.ProxyID(ID anotherID,
OCInvocationCallbacks callbacks)
|
Uses of ID in org.rococoa.cocoa.foundation |
---|
Methods in org.rococoa.cocoa.foundation that return ID | |
---|---|
abstract ID |
NSDictionary.objectForKey(ID key)
|
Methods in org.rococoa.cocoa.foundation with parameters of type ID | |
---|---|
abstract void |
NSNotificationCenter.addObserver_selector_name_object(ID notificationObserver,
Selector notificationSelector,
String notificationName,
NSObject notificationSender)
Deprecated. |
abstract boolean |
NSObject.isKindOfClass(ID nsClass)
|
abstract ID |
NSDictionary.objectForKey(ID key)
|
Uses of ID in org.rococoa.internal |
---|
Methods in org.rococoa.internal that return ID | |
---|---|
ID |
FoundationLibrary.CFRetain(ID cfTypeRef)
|
ID |
FoundationLibrary.CFStringCreateWithBytes(ID allocator,
byte[] bytes,
int byteCount,
int encoding,
byte isExternalRepresentation)
|
ID |
FoundationLibrary.CFStringCreateWithCString(ID allocator,
String string,
int encoding)
|
ID |
FoundationLibrary.class_createInstance(ID pClass,
int extraBytes)
|
ID |
FoundationLibrary.objc_getClass(String className)
|
ID |
RococoaLibrary.proxyForJavaObject(RococoaLibrary.SelectorInvokedCallback selectorInvokedCallback,
RococoaLibrary.MethodSignatureCallback methodSignatureCallback)
Return an Obj-C object that will callback on methodSignature required and selector invoked, so that we can use a Java object to implement. |
Methods in org.rococoa.internal with parameters of type ID | |
---|---|
void |
RococoaLibrary.SelectorInvokedCallback.callback(String selectorName,
ID nsInvocation)
|
int |
FoundationLibrary.CFGetRetainCount(ID cfTypeRef)
|
void |
FoundationLibrary.CFRelease(ID cfTypeRef)
|
ID |
FoundationLibrary.CFRetain(ID cfTypeRef)
|
ID |
FoundationLibrary.CFStringCreateWithBytes(ID allocator,
byte[] bytes,
int byteCount,
int encoding,
byte isExternalRepresentation)
|
ID |
FoundationLibrary.CFStringCreateWithCString(ID allocator,
String string,
int encoding)
|
byte |
FoundationLibrary.CFStringGetCString(ID theString,
byte[] buffer,
int bufferSize,
int encoding)
|
String |
FoundationLibrary.CFStringGetCStringPtr(ID string,
int encoding)
|
int |
FoundationLibrary.CFStringGetLength(ID theString)
|
ID |
FoundationLibrary.class_createInstance(ID pClass,
int extraBytes)
|
void |
FoundationLibrary.NSLog(ID pString,
Object thing)
|
com.sun.jna.Structure |
MsgSendLibrary.objc_msgSend_stret(ID receiver,
Selector selector,
Object... args)
|
Object |
MsgSendLibrary.objc_msgSend(ID receiver,
Selector selector,
Object... args)
|
Object |
MsgSendLibrary.syntheticSendMessage(Class<?> returnType,
ID receiver,
Selector selector,
Object... args)
|
Constructors in org.rococoa.internal with parameters of type ID | |
---|---|
ObjCObjectInvocationHandler(ID ocInstance,
Class<? extends ObjCObject> javaClass,
boolean retain)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |