com.jniwrapper.macosx.cocoa.nsproxy
Class NSProxy

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.Pointer.Void
          extended bycom.jniwrapper.macosx.cocoa.Id
              extended bycom.jniwrapper.macosx.cocoa.CObject
                  extended bycom.jniwrapper.macosx.cocoa.nsproxy.NSProxy
All Implemented Interfaces:
com.jniwrapper.IntegerParameter, NSObjectProtocol, com.jniwrapper.PointerParameter
Direct Known Subclasses:
NSDistantObject, NSProtocolChecker

public class NSProxy
extends CObject
implements NSObjectProtocol

This class represents NSProxy class. See the class documentation at the Apple's site: NSProxy


Field Summary
 
Fields inherited from class com.jniwrapper.macosx.cocoa.CObject
_fields
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
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.
 
Method Summary
 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()
           
 
Methods inherited from class com.jniwrapper.macosx.cocoa.CObject
getClassName
 
Methods inherited from class com.jniwrapper.macosx.cocoa.Id
clone
 
Methods inherited from class com.jniwrapper.Pointer.Void
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, a, acceptIOPerformer, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NSProxy

public NSProxy()

NSProxy

public NSProxy(boolean autorelease)
Contructs the NSProxy class with the autorelease option on.

Parameters:
autorelease -

NSProxy

public NSProxy(com.jniwrapper.Pointer.Void instancePtr)
Contructs the NSProxy class from pointer.

Parameters:
instancePtr -

NSProxy

public NSProxy(java.lang.String methodName,
               com.jniwrapper.Parameter[] parameters)
Contructs the NSProxy class with static constructor.

Parameters:
methodName -
parameters -
Method Detail

NSProxy_allocWithZone

public static NSProxy NSProxy_allocWithZone(NSZone zone)
This method represents the allocWithZone static constructor of the NSProxy Objective-C class.

Parameters:
zone -
Returns:
NSProxy

NSProxy_alloc

public static NSProxy NSProxy_alloc()
This method represents the alloc static constructor of the NSProxy Objective-C class.

Returns:
NSProxy

init

protected void init(com.jniwrapper.Parameter[] fields)
Overrides:
init in class CObject

autorelease

public Id autorelease()
Specified by:
autorelease in interface NSObjectProtocol

isKindOfClass

public com.jniwrapper.Bool isKindOfClass(CClass aClass)
Specified by:
isKindOfClass in interface NSObjectProtocol

zone

public com.jniwrapper.Pointer.Void zone()
Specified by:
zone in interface NSObjectProtocol

isMemberOfClass

public com.jniwrapper.Bool isMemberOfClass(CClass aClass)
Specified by:
isMemberOfClass in interface NSObjectProtocol

release

public void release()
Specified by:
release in interface NSObjectProtocol

performSelector

public Id performSelector(Sel aSelector)
Specified by:
performSelector in interface NSObjectProtocol

_class

public CClass _class()
This method represents the class() method of the NSProxy Objective-C class.

Specified by:
_class in interface NSObjectProtocol
Returns:
CClass

dealloc

public void dealloc()

forwardInvocation

public void forwardInvocation(NSInvocation invocation)

hash

public com.jniwrapper.UInt16 hash()
Specified by:
hash in interface NSObjectProtocol

superclass

public CClass superclass()
Specified by:
superclass in interface NSObjectProtocol

isEqual

public com.jniwrapper.Bool isEqual(Id object)
Specified by:
isEqual in interface NSObjectProtocol

isProxy

public com.jniwrapper.Bool isProxy()
Specified by:
isProxy in interface NSObjectProtocol

retain

public Id retain()
Specified by:
retain in interface NSObjectProtocol

self

public Id self()
Specified by:
self in interface NSObjectProtocol

respondsToSelector

public com.jniwrapper.Bool respondsToSelector(Sel aSelector)
Specified by:
respondsToSelector in interface NSObjectProtocol

performSelector_withObject_withObject

public Id performSelector_withObject_withObject(Sel aSelector,
                                                Id object1,
                                                Id object2)
This method represents the performSelector() method of the NSProxy Objective-C class.

Specified by:
performSelector_withObject_withObject in interface NSObjectProtocol
Parameters:
aSelector -
object1 -
object2 -
Returns:
Id

description

public com.jniwrapper.Pointer.Void description()
Specified by:
description in interface NSObjectProtocol

conformsToProtocol

public com.jniwrapper.Bool conformsToProtocol(Protocol aProtocol)
Specified by:
conformsToProtocol in interface NSObjectProtocol

retainCount

public com.jniwrapper.UInt16 retainCount()
Specified by:
retainCount in interface NSObjectProtocol

performSelector_withObject

public Id performSelector_withObject(Sel aSelector,
                                     Id object)
This method represents the performSelector() method of the NSProxy Objective-C class.

Specified by:
performSelector_withObject in interface NSObjectProtocol
Parameters:
aSelector -
object -
Returns:
Id

methodSignatureForSelector

public com.jniwrapper.Pointer.Void methodSignatureForSelector(Sel sel)