All Packages Class Hierarchy This Package Previous Next Index
Class semper.util.browser.ActionInvoker
java.lang.Object
|
+----semper.util.browser.ActionInvoker
- public class ActionInvoker
- extends Object
-
argc
-
-
args
-
-
cl
-
-
m
-
-
target
-
-
ActionInvoker(Object)
- Creates an ActionInvoker for the specific Object
-
ActionInvoker(Object, int)
- Creates an ActionInvoker for the specific Object
-
actionPerformed(String)
- Dynamic invokation of the method
-
setArgument(Object, Class, int)
- Set the the Object and the Class of a method's argument
target
protected Object target
cl
protected Class cl[]
args
protected Object args[]
argc
protected int argc
m
protected Method m
ActionInvoker
public ActionInvoker(Object target)
- Creates an ActionInvoker for the specific Object
- Parameters:
- target - the Object a method of which we want to invoke
ActionInvoker
public ActionInvoker(Object target,
int argc)
- Creates an ActionInvoker for the specific Object
- Parameters:
- target - the Object a method of which we want to invoke
- argc - the number of the method's arguments
setArgument
public void setArgument(Object obj,
Class c,
int i)
- Set the the Object and the Class of a method's argument
- Parameters:
- obj - the Object
- c - the class of the argument
- i - justifies the position of the argument among the others
actionPerformed
public Object actionPerformed(String methodname) throws NoSuchMethodException, InstantiationException, IllegalAccessException
- Dynamic invokation of the method
- Parameters:
- methodname - the name of the method
- Returns:
- the Object that is returned by the invoked method
- Throws: NoSuchMethodException
- if the specified method does not exist in the specified class
- Throws: InstantiationException
- if it has been an attempt to instantiate an interface or an abstract class
- Throws: IllegalAccessException
- if the specified class is not accessible
All Packages Class Hierarchy This Package Previous Next Index