public final class GralCfgData extends java.lang.Object
GralCfgZbnf
or others.
It is changed by user handling on GUI.
It can be written out in a new configuration fileModifier and Type | Class and Description |
---|---|
class |
GralCfgData.Conditional |
static class |
GralCfgData.DataReplace
ZBNF: DataReplace::= <$?
|
static class |
GralCfgData.GuiCfgButton
ZBNF: Button::= ... ;
Class for instance to capture and store the Button data.
|
static class |
GralCfgData.GuiCfgColor |
static class |
GralCfgData.GuiCfgCoord
ZBNF: |
|
static class |
GralCfgData.GuiCfgCurveLine
ZBNF: {
|
static class |
GralCfgData.GuiCfgCurveview
ZBNF: Table::= ... ;
Class for instance to capture and store the Table data.
|
static class |
GralCfgData.GuiCfgImage
ZBNF: Text::= ... ;
Class for instance to capture and store the Table data.
|
static class |
GralCfgData.GuiCfgInputFile
ZBNF: ShowField::= ... ;
Class for instance to capture and store the Table data.
|
static class |
GralCfgData.GuiCfgLed
ZBNF: Text::= ... ;
Class for instance to capture and store the Table data.
|
static class |
GralCfgData.GuiCfgLine
ZBNF: Line::= ... ;
Class for instance to capture and store the Table data.
|
static class |
GralCfgData.GuiCfgShowField
ZBNF: ShowField::= ... ;
Class for instance to capture and store the Table data.
|
static class |
GralCfgData.GuiCfgTable
ZBNF: Table::= ... ;
Class for instance to capture and store the Table data.
|
static class |
GralCfgData.GuiCfgText
ZBNF: Text::= ... ;
Class for instance to capture and store the Table data.
|
static class |
GralCfgData.GuiCfgType
ZBNF: Text::= ... ;
Class for instance to capture and store the Table data.
|
static class |
GralCfgData.GuiCfgWidget
This is the base class of all configuration data for one widget.
|
Modifier and Type | Field and Description |
---|---|
(package private) GralCfgPanel |
actPanel |
private GralCfgData.Conditional |
actualConditional |
private GralCfgElement |
actualElement |
(package private) java.util.List<java.lang.String> |
cfgConditions |
java.util.Map<java.lang.String,java.lang.String> |
dataReplace
Map of replacements of paths to data.
|
private GralCfgData.DataReplace |
dataReplaceTempInstance
ZBNF: DataReplace::= <$?
|
(package private) GralCfgElement |
firstElement |
private java.util.Map<java.lang.String,GralCfgPanel> |
idxPanels
Map of replacements of paths to data.
|
(package private) java.util.Map<java.lang.String,GralCfgData.GuiCfgWidget> |
idxTypes |
(package private) java.util.List<GralCfgElement> |
listElementsInTextfileOrder
TODO widgets sorted to panels and tabs!
|
private GralCfgElement |
newGuiElement
The element is created if the text if
set_Element(String) is invoked
before newGuiElement is invoked. |
static int |
version
Version and history
2014-02-24 Hartmut new element help now also in config.
|
Constructor and Description |
---|
GralCfgData(java.util.List<java.lang.String> conditions) |
Modifier and Type | Method and Description |
---|---|
void |
add_Conditional(GralCfgData val)
It is called on end of conditional block.
|
void |
add_Element(GralCfgElement value)
From ZBNF: DataReplace: < DataReplace>
|
void |
add_Type(GralCfgData.GuiCfgType data)
ZBNF: Type::= typeName ( param );
|
void |
add_Window(GralCfgPanel panel) |
java.util.Set<java.util.Map.Entry<java.lang.String,GralCfgPanel>> |
getPanels() |
GralCfgData |
new_Conditional()
ZBNF: DataReplace: < ?
|
GralCfgData.DataReplace |
new_DataReplace()
From ZBNF: DataReplace: < DataReplace>
|
GralCfgElement |
new_Element()
ZBNF: DataReplace: < ?
|
GralCfgData |
new_ElseConditional()
ZBNF: DataReplace: < ?
|
GralCfgData.GuiCfgType |
new_Type()
ZBNF: Type::= typeName ( param );
|
GralCfgPanel |
new_Window() |
void |
set_DataReplace(GralCfgData.DataReplace value)
From ZBNF: DataReplace: < DataReplace>
|
void |
set_Element(java.lang.String val)
ZBNF: DataReplace: < Element>
|
void |
set_elseCondition() |
void |
set_ifCondition(java.lang.String cond) |
void |
set_xSize(int value)
ZBNF: size( <#?
|
void |
set_ySize(int value)
ZBNF: size( <#?
|
(package private) void |
stop() |
(package private) void |
XXXprocessConfiguration(GralMngBuild_ifc panel) |
java.lang.String |
XXXreplacePathPrefix(java.lang.String path,
java.lang.String[] target) |
public static final int version
new_Type()
.
GralCfgData.GuiCfgCurveLine.colorValue
= -1 initially to check whether it is given,
see GralCfgBuilder.buildWidget(GralCfgElement)
ZbnfJavaOutput
to write result info in this class.
final java.util.List<java.lang.String> cfgConditions
GralCfgElement firstElement
private GralCfgElement actualElement
private GralCfgData.Conditional actualConditional
private final GralCfgData.DataReplace dataReplaceTempInstance
private GralCfgElement newGuiElement
set_Element(String)
is invoked
before newGuiElement
is invoked. The association is temporary valid for the current element.public final java.util.Map<java.lang.String,java.lang.String> dataReplace
java.util.Map<java.lang.String,GralCfgData.GuiCfgWidget> idxTypes
final java.util.List<GralCfgElement> listElementsInTextfileOrder
GralCfgPanel actPanel
private final java.util.Map<java.lang.String,GralCfgPanel> idxPanels
public GralCfgData(java.util.List<java.lang.String> conditions)
public java.util.Set<java.util.Map.Entry<java.lang.String,GralCfgPanel>> getPanels()
public void set_ySize(int value)
public void set_xSize(int value)
public GralCfgData.DataReplace new_DataReplace()
public void set_DataReplace(GralCfgData.DataReplace value)
public GralCfgData new_Conditional()
public GralCfgData new_ElseConditional()
public void add_Conditional(GralCfgData val)
val
- public void set_ifCondition(java.lang.String cond)
public void set_elseCondition()
public GralCfgPanel new_Window()
public void add_Window(GralCfgPanel panel)
public GralCfgElement new_Element()
public void add_Element(GralCfgElement value)
public void set_Element(java.lang.String val)
public GralCfgData.GuiCfgType new_Type()
public void add_Type(GralCfgData.GuiCfgType data)
void XXXprocessConfiguration(GralMngBuild_ifc panel)
public java.lang.String XXXreplacePathPrefix(java.lang.String path, java.lang.String[] target)
void stop()