public class GralCfgWindow extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) GralGraphicTimeOrder |
configInGthread
Code snippet to run the ZBNF-configurator (text controlled GUI)
|
private GralCfgData |
guiCfgData
The configuration data for graphical appearance.
|
(package private) java.io.File |
imgDir
Directory for images.
|
private MainCmdLogging_ifc |
log |
static int |
version
The version, history and license.
|
GralWindow |
window |
Modifier | Constructor and Description |
---|---|
private |
GralCfgWindow(java.lang.String sName,
java.lang.String sTitle,
char size,
java.lang.CharSequence sCfg,
java.io.File imgDir,
MainCmdLogging_ifc log)
Creates a new Window or opens the existing one with given name.
|
Modifier and Type | Method and Description |
---|---|
static GralWindow |
createWindow(java.lang.String sName,
java.lang.String sTitle,
char size,
java.lang.CharSequence sCfg,
java.io.File imgDir,
MainCmdLogging_ifc log)
Creates a window with a given configuration.
|
public static final int version
private final MainCmdLogging_ifc log
private final GralCfgData guiCfgData
java.io.File imgDir
public final GralWindow window
GralGraphicTimeOrder configInGthread
private GralCfgWindow(java.lang.String sName, java.lang.String sTitle, char size, java.lang.CharSequence sCfg, java.io.File imgDir, MainCmdLogging_ifc log) throws java.text.ParseException
sName
- Name of the window inside the gral manager to address the window.sTitle
- text in the title barsize
- 'A'...'E' as pixel/grid unit for SWT graphic. 'a'...'e' same for AWT-GraphicsCfg
- textual given configuration for the window.imgDir
- start directory path where images are located if given with relative path.log
- interface for logging output of parser and creation.java.text.ParseException
- on errors in the sCfgpublic static GralWindow createWindow(java.lang.String sName, java.lang.String sTitle, char size, java.lang.CharSequence sCfg, java.io.File imgDir, MainCmdLogging_ifc log) throws java.text.ParseException
sName
- Name of the window inside the gral manager to address the window.sTitle
- text in the title barsize
- 'A'...'E' as pixel/grid unit for SWT graphic. 'a'...'e' same for AWT-GraphicsCfg
- textual given configuration for the window.imgDir
- start directory path where images are located if given with relative path.log
- log output for status and parse messagesjava.text.ParseException
- on errors in the sCfg