public class GralCfgBuilder extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
version
Version and history
2015-04-27 Hartmut chg:
buildGui(LogMessage, int) Now regards only one panel in the window, not only tabbed panels. |
Constructor and Description |
---|
GralCfgBuilder(GralCfgData cfgData,
GralMngBuild_ifc gui,
java.io.File currentDir) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildGui(LogMessage log,
int msgIdent) |
java.lang.String |
buildPanel(GralCfgPanel cfgDataPanel)
Builds the appearance of one panel with the given
GralCfgPanel cfgData. |
java.lang.String |
buildWidget(GralCfgElement cfge)
Builds the graphical widget inclusive its
GralWidget and place it in the GUI. |
void |
updatePanel(java.lang.String panelName) |
GralCfgElement |
XXXnewCfgElement(GralCfgElement previous) |
public static final int version
buildGui(LogMessage, int)
Now regards only one panel in the window, not only tabbed panels.
GralUserAction
for GralWidget.setActionShow(GralUserAction, String[])
. The parameter are stored
in GralWidget.cfg
as GralWidget.ConfigData#showParam
.
public GralCfgBuilder(GralCfgData cfgData, GralMngBuild_ifc gui, java.io.File currentDir)
public java.lang.String buildGui(LogMessage log, int msgIdent)
log
- msgIdent
- public java.lang.String buildPanel(GralCfgPanel cfgDataPanel)
GralCfgPanel
cfgData.cfgDataPanel
- public java.lang.String buildWidget(GralCfgElement cfge) throws java.text.ParseException
GralWidget
and place it in the GUI.cfge
- The configuration element data read from config file or set from the GUI-editor.java.text.ParseException
public void updatePanel(java.lang.String panelName)
public GralCfgElement XXXnewCfgElement(GralCfgElement previous)