private class GralActionJztc.ActionRereadScript extends GralUserAction
name, version
Constructor and Description |
---|
ActionRereadScript() |
Modifier and Type | Method and Description |
---|---|
boolean |
exec(int key,
GralWidget_ifc widgd,
java.lang.Object... params)
This method should be override by the users class.
|
toString, userActionGui, userActionGui
public boolean exec(int key, GralWidget_ifc widgd, java.lang.Object... params)
GralUserAction
GralUserAction
is associated to a specific widget.
GralUserAction
super class, it tries to call
the deprecated GralUserAction.userActionGui(int, GralWidget, Object...)
because that method may be overridden.exec
in class GralUserAction
key
- See KeyCode
. Any special action is designated with 0.widgd
- The Gral which calls this method in any of its implementation methods.
This parameter designates the source of the call with some specific properties in the widget.
For example ((GralWidget)widgd).getCmd() can be invoked.params
- Some optional values, depending on special user designation. In most cases no parameter.
The user may be test the type of parameter for complex usage.