public class GralActionJztc
extends java.lang.Object
Obj gralActions = java new org.vishia.gral.ifc.GralActionJztc(jztc, out); gralActions.add(jztc.sub("buttonConvert")); .... sub buttonConvert(){ .....do something with graphical content or other }
Modifier and Type | Class and Description |
---|---|
private class |
GralActionJztc.Action |
(package private) class |
GralActionJztc.ActionArgs |
private class |
GralActionJztc.ActionRereadScript |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<java.lang.String,GralActionJztc.Action> |
actions |
GuiCfg |
gui |
JZtxtcmdExecuter |
jzTcExec |
(package private) JZtxtcmdScript |
jzTcScript
The java prepared script which contains subroutines.
|
java.lang.Appendable |
out |
(package private) java.io.File |
scriptFile |
(package private) JZtxtcmdThreadQueue |
thread |
static java.lang.String |
version
The version, history and license.
|
Constructor and Description |
---|
GralActionJztc(JZtxtcmdExecuter jzTcExec,
JZtxtcmdScript script,
java.lang.Appendable out,
GuiCfg gui)
Constructs and stores JZtxtcmd aggregation.
|
Modifier and Type | Method and Description |
---|---|
void |
add(JZtxtcmdScript.Subroutine jzsub)
Adds a JZtxtcmd-subroutine as execution of a
GralUserAction . |
JZtxtcmdScript |
getScript() |
void |
setScript(java.io.File scriptfile) |
public static final java.lang.String version
GuiCfg
java.util.Map<java.lang.String,GralActionJztc.Action> actions
java.io.File scriptFile
final JZtxtcmdThreadQueue thread
JZtxtcmdScript jzTcScript
public final JZtxtcmdExecuter jzTcExec
public final java.lang.Appendable out
public final GuiCfg gui
public GralActionJztc(JZtxtcmdExecuter jzTcExec, JZtxtcmdScript script, java.lang.Appendable out, GuiCfg gui)
jztc
- The main data to access script levelout
- Any output used in the sub routine.public void setScript(java.io.File scriptfile)
public final JZtxtcmdScript getScript()
public void add(JZtxtcmdScript.Subroutine jzsub)
GralUserAction
.
to the registered actions, able to get with GralMng.getRegisteredUserAction(String)
The name of the action is the name of the sub routine.
The user is responsible to unique names in the graphic application.jzsub
-