public class ExampleScriptSimpleButton
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
ExampleScriptSimpleButton.GuiElements |
| Modifier and Type | Field and Description |
|---|---|
private GralUserAction |
actionButtonCode |
(package private) int |
ctKeyStroke |
(package private) ExampleScriptSimpleButton.GuiElements |
gui |
(package private) java.lang.String |
guiScript |
(package private) LogMessage |
log |
| Constructor and Description |
|---|
ExampleScriptSimpleButton(java.lang.String[] args) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
buttonOperation()
Code snippet for the action while the button is pressed.
|
(package private) void |
execute()
execute routine for any other actions than the graphical actions.
|
(package private) boolean |
init(java.lang.String awtOrSwt)
Code snippet for initializing the GUI.
|
static void |
main(java.lang.String[] args)
The main routine.
|
LogMessage log
final java.lang.String guiScript
final ExampleScriptSimpleButton.GuiElements gui
int ctKeyStroke
private final GralUserAction actionButtonCode
ExampleScriptSimpleButton(java.lang.String[] args)
throws java.text.ParseException
java.text.ParseExceptionboolean init(java.lang.String awtOrSwt)
void execute()
public static void main(java.lang.String[] args)
#main(String[], Factory).
With that pattern a derived class may have a simple main routine too.args - command line arguments.void buttonOperation()