public class GralButtonKeyMenu
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
GralUserAction |
action
The action which is associated to all the functions.
|
java.lang.String |
buttonId
Identification for the button to present.
3 chars: gF1
|
java.lang.String |
buttontext
Text for the button
|
int |
key1
One of two possible
KeyCode for this functionality. |
int |
key2
One of two possible
KeyCode for this functionality. |
java.lang.String |
menu
Menu bar string.
|
java.lang.String |
menuContext
Context menu string.
|
static int |
version
Version, history and copyright/copyleft.
|
Constructor and Description |
---|
GralButtonKeyMenu(GralUserAction action,
java.lang.String menu,
java.lang.String menuContext,
java.lang.String buttonId,
java.lang.String buttontext,
int key1,
int key2) |
GralButtonKeyMenu(GralUserAction action,
java.lang.String menu,
java.lang.String menuContext,
java.lang.String buttonId,
java.lang.String buttontext,
int key1,
int key2,
java.util.List<GralButtonKeyMenu> addToList)
Constructs and adds the instance to a given list.
|
public static final int version
FcmdIdents
public java.lang.String menu
public java.lang.String menuContext
public java.lang.String buttonId
public java.lang.String buttontext
public int key1
KeyCode
for this functionality.public int key2
KeyCode
for this functionality.public GralUserAction action
public GralButtonKeyMenu(GralUserAction action, java.lang.String menu, java.lang.String menuContext, java.lang.String buttonId, java.lang.String buttontext, int key1, int key2, java.util.List<GralButtonKeyMenu> addToList)
action
- menu
- menuContext
- buttonId
- buttontext
- key1
- key2
- addToList
- add to this list if not null.public GralButtonKeyMenu(GralUserAction action, java.lang.String menu, java.lang.String menuContext, java.lang.String buttonId, java.lang.String buttontext, int key1, int key2)