public class NSProxy extends CObject implements NSObjectProtocol
NSProxy
class.
See the class documentation at the Apple's site: NSProxyConstructor and Description |
---|
NSProxy() |
NSProxy(boolean autorelease)
Contructs the
NSProxy class with the autorelease option on. |
NSProxy(com.jniwrapper.Pointer.Void instancePtr)
Contructs the
NSProxy class from pointer. |
NSProxy(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
Contructs the
NSProxy class with static constructor. |
Modifier and Type | Method and Description |
---|---|
CClass |
_class()
This method represents the
class() method of the NSProxy Objective-C class. |
Id |
autorelease() |
com.jniwrapper.Bool |
conformsToProtocol(Protocol aProtocol) |
void |
dealloc() |
com.jniwrapper.Pointer.Void |
description() |
void |
forwardInvocation(NSInvocation invocation) |
com.jniwrapper.UInt16 |
hash() |
protected void |
init(com.jniwrapper.Parameter[] fields) |
com.jniwrapper.Bool |
isEqual(Id object) |
com.jniwrapper.Bool |
isKindOfClass(CClass aClass) |
com.jniwrapper.Bool |
isMemberOfClass(CClass aClass) |
com.jniwrapper.Bool |
isProxy() |
com.jniwrapper.Pointer.Void |
methodSignatureForSelector(Sel sel) |
static NSProxy |
NSProxy_alloc()
This method represents the
alloc static constructor of the NSProxy Objective-C class. |
static NSProxy |
NSProxy_allocWithZone(NSZone zone)
This method represents the
allocWithZone static constructor of the NSProxy Objective-C class. |
Id |
performSelector_withObject_withObject(Sel aSelector,
Id object1,
Id object2)
This method represents the
performSelector() method of the NSProxy Objective-C class. |
Id |
performSelector_withObject(Sel aSelector,
Id object)
This method represents the
performSelector() method of the NSProxy Objective-C class. |
Id |
performSelector(Sel aSelector) |
void |
release() |
com.jniwrapper.Bool |
respondsToSelector(Sel aSelector) |
Id |
retain() |
com.jniwrapper.UInt16 |
retainCount() |
Id |
self() |
CClass |
superclass() |
com.jniwrapper.Pointer.Void |
zone() |
getClassName
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write
public NSProxy()
public NSProxy(boolean autorelease)
NSProxy
class with the autorelease option on.autorelease
- public NSProxy(com.jniwrapper.Pointer.Void instancePtr)
NSProxy
class from pointer.instancePtr
- public NSProxy(java.lang.String methodName, com.jniwrapper.Parameter[] parameters)
NSProxy
class with static constructor.methodName
- parameters
- public static NSProxy NSProxy_allocWithZone(NSZone zone)
allocWithZone
static constructor of the NSProxy Objective-C class.zone
- public static NSProxy NSProxy_alloc()
alloc
static constructor of the NSProxy Objective-C class.public Id autorelease()
autorelease
in interface NSObjectProtocol
public com.jniwrapper.Bool isKindOfClass(CClass aClass)
isKindOfClass
in interface NSObjectProtocol
public com.jniwrapper.Pointer.Void zone()
zone
in interface NSObjectProtocol
public com.jniwrapper.Bool isMemberOfClass(CClass aClass)
isMemberOfClass
in interface NSObjectProtocol
public void release()
release
in interface NSObjectProtocol
public Id performSelector(Sel aSelector)
performSelector
in interface NSObjectProtocol
public CClass _class()
class()
method of the NSProxy Objective-C class._class
in interface NSObjectProtocol
public void dealloc()
public void forwardInvocation(NSInvocation invocation)
public com.jniwrapper.UInt16 hash()
hash
in interface NSObjectProtocol
public CClass superclass()
superclass
in interface NSObjectProtocol
public com.jniwrapper.Bool isEqual(Id object)
isEqual
in interface NSObjectProtocol
public com.jniwrapper.Bool isProxy()
isProxy
in interface NSObjectProtocol
public Id retain()
retain
in interface NSObjectProtocol
public Id self()
self
in interface NSObjectProtocol
public com.jniwrapper.Bool respondsToSelector(Sel aSelector)
respondsToSelector
in interface NSObjectProtocol
public Id performSelector_withObject_withObject(Sel aSelector, Id object1, Id object2)
performSelector()
method of the NSProxy Objective-C class.performSelector_withObject_withObject
in interface NSObjectProtocol
aSelector
- object1
- object2
- public com.jniwrapper.Pointer.Void description()
description
in interface NSObjectProtocol
public com.jniwrapper.Bool conformsToProtocol(Protocol aProtocol)
conformsToProtocol
in interface NSObjectProtocol
public com.jniwrapper.UInt16 retainCount()
retainCount
in interface NSObjectProtocol
public Id performSelector_withObject(Sel aSelector, Id object)
performSelector()
method of the NSProxy Objective-C class.performSelector_withObject
in interface NSObjectProtocol
aSelector
- object
- public com.jniwrapper.Pointer.Void methodSignatureForSelector(Sel sel)