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, userActionGuipublic boolean exec(int actionCode,
GralWidget_ifc widgi,
java.lang.Object... params)
GralUserActionGralUserAction 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 GralUserActionactionCode - 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)