|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.Callback
com.jniwrapper.macosx.cocoa.Method
Field Summary |
Fields inherited from class com.jniwrapper.Callback |
e |
Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
Constructor Summary | |
protected |
Method(CClass cclass)
Constructs a method instance. |
|
Method(CClass cclass,
Sel sel,
com.jniwrapper.Parameter[] params,
com.jniwrapper.Parameter retVal)
Constructs a method instance. |
Method Summary | |
protected Id |
getId()
|
protected Sel |
getSel()
|
protected void |
init(Sel sel,
com.jniwrapper.Parameter[] params,
com.jniwrapper.Parameter retVal)
Initializes method parameters. |
protected void |
invokeOriginal(com.jniwrapper.Parameter returnValue,
com.jniwrapper.Parameter[] parameters)
Invokes the original class method with the passed parameters. |
void |
register()
Override method implementation |
void |
unregister()
Restore the original method implementation |
Methods inherited from class com.jniwrapper.Callback |
|
Methods inherited from class com.jniwrapper.Parameter |
a, a, acceptIOPerformer, asReturnValue, b, dataBufferAssigned, equals, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, hashCode, indent, pop, push, read, read, setDataBuffer, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Method(CClass cclass)
init()
to initialize method arguments/return.
cclass
- objective-c classpublic Method(CClass cclass, Sel sel, com.jniwrapper.Parameter[] params, com.jniwrapper.Parameter retVal)
cclass
- objective-c classsel
- selector to original methodparams
- method function argumentsretVal
- method function return valueMethod Detail |
protected final void init(Sel sel, com.jniwrapper.Parameter[] params, com.jniwrapper.Parameter retVal)
sel
- selector to methodparams
- callback function argumentsretVal
- callback function return valueprotected Id getId()
protected Sel getSel()
public void register()
public void unregister()
protected final void invokeOriginal(com.jniwrapper.Parameter returnValue, com.jniwrapper.Parameter[] parameters) throws com.jniwrapper.FunctionExecutionException
returnValue
- reference to return valueparameters
- array of parameters of called function
com.jniwrapper.FunctionExecutionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |