org.kde.qt
Class Invocation
public
class
Invocation
extends Object
A utility class for creating a closure to invoke later - when a Java
slot or event handler needs to be activated
Method Summary |
static boolean | booleanInvoke(long target, String methodName) Invoke the named method on the target object with no arguments. |
Object | invoke() Not used at present, here for completeness |
Object | invoke(Object[] args) Used for Java slot/signal targets, handles callbacks |
Object | invoke(boolean arg) Used for boolean slot handling callbacks |
Object | invoke(byte arg) Used for C++ sender to byte (ie unsigned char in C++) Java slot handling callbacks |
Object | invoke(char arg) Used for C++ sender to char Java slot handling callbacks |
Object | invoke(short arg) Used for C++ sender to short Java slot handling callbacks |
Object | invoke(int arg) Used for C++ sender to int Java slot handling callbacks |
Object | invoke(long arg) Used for C++ sender to long Java slot handling callbacks |
Object | invoke(float arg) Used for C++ sender float Java slot handling callbacks |
Object | invoke(double arg) Used for C++ sender to double Java slot handling callbacks |
Object | invoke(Object arg) |
Object | invoke(Object arg1, byte[] arg2) |
Object | invoke(Object arg1, Object arg2) |
Object | invoke(Object arg1, Object arg2, Object arg3) |
Object | invoke(Object arg1, Object arg2, Object arg3, Object arg4) |
Object | invoke(Object arg1, boolean arg2) |
Object | invoke(Object arg1, Object arg2, int arg3) |
Object | invoke(int arg1, Object arg2) |
Object | invoke(int arg1, Object arg2, Object arg3) |
Object | invoke(int arg1, Object arg2, Object arg3, int arg4) |
Object | invoke(int arg1, boolean arg2) |
Object | invoke(int arg1, int arg2) |
Object | invoke(int arg1, int arg2, int arg3) |
Object | invoke(int arg1, int arg2, int arg3, Object arg4) |
static boolean | invoke(long target, String className, String methodName) Invoke the named void method on the target object with no arguments. |
static boolean | invoke(long target, long arg, String argClass, String methodName) Invoke the named method on the target object with a single argument. |
static boolean | invoke(long target, long arg1, String arg1class, long arg2, String arg2class, String methodName) Invoke the named method on the target object with two arguments. |
void | setArguments(Object[] args) |
public static boolean booleanInvoke(long target, String methodName)
Invoke the named method on the target object with no arguments. Returns false
iff the target method was successfully invoked AND returned false. Unlike the other
variants of boolean invoke(), this method returns true if no target java method exists.
Used for boolean callbacks such as KMainWindow::queryClose()
public Object invoke()
Not used at present, here for completeness
public Object invoke(Object[] args)
Used for Java slot/signal targets, handles callbacks
public Object invoke(boolean arg)
Used for boolean slot handling callbacks
public Object invoke(byte arg)
Used for C++ sender to byte (ie unsigned char in C++) Java slot handling callbacks
public Object invoke(char arg)
Used for C++ sender to char Java slot handling callbacks
public Object invoke(short arg)
Used for C++ sender to short Java slot handling callbacks
public Object invoke(int arg)
Used for C++ sender to int Java slot handling callbacks
public Object invoke(long arg)
Used for C++ sender to long Java slot handling callbacks
public Object invoke(float arg)
Used for C++ sender float Java slot handling callbacks
public Object invoke(double arg)
Used for C++ sender to double Java slot handling callbacks
public Object invoke(Object arg)
public Object invoke(Object arg1, byte[] arg2)
public Object invoke(Object arg1, Object arg2)
public Object invoke(Object arg1, Object arg2, Object arg3)
public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4)
public Object invoke(Object arg1, boolean arg2)
public Object invoke(Object arg1, Object arg2, int arg3)
public Object invoke(int arg1, Object arg2)
public Object invoke(int arg1, Object arg2, Object arg3)
public Object invoke(int arg1, Object arg2, Object arg3, int arg4)
public Object invoke(int arg1, boolean arg2)
public Object invoke(int arg1, int arg2)
public Object invoke(int arg1, int arg2, int arg3)
public Object invoke(int arg1, int arg2, int arg3, Object arg4)
public static boolean invoke(long target, String className, String methodName)
Invoke the named void method on the target object with no arguments. Returns true
if the target method was successfully invoked.
public static boolean invoke(long target, long arg, String argClass, String methodName)
Invoke the named method on the target object with a single argument. Returns true
if the method was successfully invoked, otherwise false.
Used for event handling callbacks
public static boolean invoke(long target, long arg1, String arg1class, long arg2, String arg2class, String methodName)
Invoke the named method on the target object with two arguments. Returns true
if the method was successfully invoked, otherwise false.
Used for event filter callbacks
public void setArguments(Object[] args)