public class ButtonInspcCmd extends GralUserAction
name, version
Constructor and Description |
---|
ButtonInspcCmd(java.lang.String ident) |
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.
|
(package private) static void |
registerUserAction(GralMng mng) |
toString, userActionGui, userActionGui
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.static void registerUserAction(GralMng mng)