Public Methods | |
JavaFuncDialog (Object target, CallableMethod targetMethod) | |
Constructor for calling a target member function directly from a modeless (non-modal) dialog box. More... | |
JavaFuncDialog (Object target, CallableMethod targetMethod, Object user, String userMethodName, boolean modal) | |
Constructor for calling a target member function via a user. More... | |
void | actionPerformed (ActionEvent e) |
Implementation of ActionListener. More... |
The description of the member function is given by the CallableMethod. Optionally, a user Object may be specified.
If (user == null) the method on the target is invoked when the OK button in the dialog box is pressed. If (user != null) the target method is not invoked directly. Instead the userMethod of the user object is called with three parameters: the target Object, the CallableMethod of the target object, and the argument values. The user object then has the responsibility of invoking the target method.
|
Constructor for calling a target member function directly from a modeless (non-modal) dialog box.
|
|
Constructor for calling a target member function via a user.
|
|
Implementation of ActionListener.
|