public class ButtonInspcCmd extends GralUserAction
name, version
Modifier and Type | Method and Description |
---|---|
boolean |
exec(int actionCode,
GralWidget_ifc widgi,
java.lang.Object... params)
This method should be override by the users class.
|
toString
public boolean exec(int actionCode, GralWidget_ifc widgi, 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
actionCode
- See KeyCode
. Any special action is designated with 0.widgi
- 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.