|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ID | |
---|---|
org.rococoa | |
org.rococoa.cocoa.foundation | |
org.rococoa.internal | |
org.rococoa.test |
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(java.lang.String s)
Return a CFString as an ID, toll-free bridged to NSString. |
static ID |
ID.fromLong(long value)
|
static ID |
Foundation.getClass(java.lang.String className)
Get the ID of the NSClass with className |
static ID |
ID.getGlobal(java.lang.String libraryName,
java.lang.String globalVarName)
|
ID |
IDByReference.getValue()
|
ID |
NSObject.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,
java.lang.String selectorName,
java.lang.Object... args)
Convenience as this happens a lot in tests. |
static ID |
Rococoa.wrap(java.lang.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 |
|
boolean |
NSObject.isKindOfClass(ID nsClass)
|
|
static
|
Foundation.send(ID receiver,
Selector selector,
java.lang.Class<T> returnType,
java.lang.Object... args)
Send message with selector to receiver, passing args, expecting returnType. |
|
static
|
Foundation.send(ID receiver,
java.lang.String selectorName,
java.lang.Class<T> returnType,
java.lang.Object... args)
Send message with selectorName to receiver, passing args, expecting returnType. |
|
static ID |
Foundation.sendReturnsID(ID receiver,
java.lang.String selectorName,
java.lang.Object... args)
Convenience as this happens a lot in tests. |
|
static void |
Foundation.sendReturnsVoid(ID receiver,
java.lang.String selectorName,
java.lang.Object... args)
Convenience as this happens a lot in tests. |
|
void |
IDByReference.setValue(ID value)
|
|
static java.lang.String |
Foundation.toString(ID cfString)
|
|
static
|
Rococoa.wrap(ID id,
java.lang.Class<T> javaClass)
Create a Java NSObject wrapping an existing Objective-C instance, represented by id. |
|
static
|
Rococoa.wrap(ID id,
java.lang.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 | |
---|---|
void |
NSNotificationCenter.addObserver_selector_name_object(ID notificationObserver,
Selector notificationSelector,
java.lang.String notificationName,
NSObject notificationSender)
Deprecated. |
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,
java.lang.String string,
int encoding)
|
ID |
FoundationLibrary.class_createInstance(ID pClass,
int extraBytes)
|
ID |
FoundationLibrary.objc_getClass(java.lang.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(java.lang.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,
java.lang.String string,
int encoding)
|
byte |
FoundationLibrary.CFStringGetCString(ID theString,
byte[] buffer,
int bufferSize,
int encoding)
|
java.lang.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,
java.lang.Object thing)
|
com.sun.jna.Structure |
MsgSendLibrary.objc_msgSend_stret(ID receiver,
Selector selector,
java.lang.Object... args)
|
java.lang.Object |
MsgSendLibrary.objc_msgSend(ID receiver,
Selector selector,
java.lang.Object... args)
|
java.lang.Object |
MsgSendLibrary.syntheticSendMessage(java.lang.Class<?> returnType,
ID receiver,
Selector selector,
java.lang.Object... args)
|
Constructors in org.rococoa.internal with parameters of type ID | |
---|---|
NSObjectInvocationHandler(ID ocInstance,
java.lang.Class<? extends NSObject> javaClass,
boolean retain)
|
Uses of ID in org.rococoa.test |
---|
Methods in org.rococoa.test with parameters of type ID | |
---|---|
static void |
RococoaTestCase.assertRetainCount(int expected,
ID id)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |