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 booleanbooleanInvoke(long target, String methodName)
Invoke the named method on the target object with no arguments.
Objectinvoke()
Not used at present, here for completeness
Objectinvoke(Object[] args)
Used for Java slot/signal targets, handles callbacks
Objectinvoke(boolean arg)
Used for boolean slot handling callbacks
Objectinvoke(byte arg)
Used for C++ sender to byte (ie unsigned char in C++) Java slot handling callbacks
Objectinvoke(char arg)
Used for C++ sender to char Java slot handling callbacks
Objectinvoke(short arg)
Used for C++ sender to short Java slot handling callbacks
Objectinvoke(int arg)
Used for C++ sender to int Java slot handling callbacks
Objectinvoke(long arg)
Used for C++ sender to long Java slot handling callbacks
Objectinvoke(float arg)
Used for C++ sender float Java slot handling callbacks
Objectinvoke(double arg)
Used for C++ sender to double Java slot handling callbacks
Objectinvoke(Object arg)
Objectinvoke(Object arg1, byte[] arg2)
Objectinvoke(Object arg1, Object arg2)
Objectinvoke(Object arg1, Object arg2, Object arg3)
Objectinvoke(Object arg1, Object arg2, Object arg3, Object arg4)
Objectinvoke(Object arg1, boolean arg2)
Objectinvoke(Object arg1, Object arg2, int arg3)
Objectinvoke(int arg1, Object arg2)
Objectinvoke(int arg1, Object arg2, Object arg3)
Objectinvoke(int arg1, Object arg2, Object arg3, int arg4)
Objectinvoke(int arg1, boolean arg2)
Objectinvoke(int arg1, int arg2)
Objectinvoke(int arg1, int arg2, int arg3)
Objectinvoke(int arg1, int arg2, int arg3, Object arg4)
static booleaninvoke(long target, String className, String methodName)
Invoke the named void method on the target object with no arguments.
static booleaninvoke(long target, long arg, String argClass, String methodName)
Invoke the named method on the target object with a single argument.
static booleaninvoke(long target, long arg1, String arg1class, long arg2, String arg2class, String methodName)
Invoke the named method on the target object with two arguments.
voidsetArguments(Object[] args)

Method Detail

booleanInvoke

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()

invoke

public Object invoke()
Not used at present, here for completeness

invoke

public Object invoke(Object[] args)
Used for Java slot/signal targets, handles callbacks

invoke

public Object invoke(boolean arg)
Used for boolean slot handling callbacks

invoke

public Object invoke(byte arg)
Used for C++ sender to byte (ie unsigned char in C++) Java slot handling callbacks

invoke

public Object invoke(char arg)
Used for C++ sender to char Java slot handling callbacks

invoke

public Object invoke(short arg)
Used for C++ sender to short Java slot handling callbacks

invoke

public Object invoke(int arg)
Used for C++ sender to int Java slot handling callbacks

invoke

public Object invoke(long arg)
Used for C++ sender to long Java slot handling callbacks

invoke

public Object invoke(float arg)
Used for C++ sender float Java slot handling callbacks

invoke

public Object invoke(double arg)
Used for C++ sender to double Java slot handling callbacks

invoke

public Object invoke(Object arg)

invoke

public Object invoke(Object arg1, byte[] arg2)

invoke

public Object invoke(Object arg1, Object arg2)

invoke

public Object invoke(Object arg1, Object arg2, Object arg3)

invoke

public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4)

invoke

public Object invoke(Object arg1, boolean arg2)

invoke

public Object invoke(Object arg1, Object arg2, int arg3)

invoke

public Object invoke(int arg1, Object arg2)

invoke

public Object invoke(int arg1, Object arg2, Object arg3)

invoke

public Object invoke(int arg1, Object arg2, Object arg3, int arg4)

invoke

public Object invoke(int arg1, boolean arg2)

invoke

public Object invoke(int arg1, int arg2)

invoke

public Object invoke(int arg1, int arg2, int arg3)

invoke

public Object invoke(int arg1, int arg2, int arg3, Object arg4)

invoke

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.

invoke

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

invoke

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

setArguments

public void setArguments(Object[] args)