public class GralCfgWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) LogMessage |
log |
private java.lang.String |
sLastPanel |
static java.lang.String |
version
Version and history
2015-27-01 Hartmut new: Now a text field can be set editable.
|
(package private) java.io.Writer |
writer |
Constructor and Description |
---|
GralCfgWriter(LogMessage log) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
saveCfg(java.io.Writer dest,
GralCfgData cfg) |
(package private) void |
writeButton(GralCfgData.GuiCfgButton ee) |
(package private) void |
writeDataReplace(GralCfgData cfg) |
(package private) void |
writeElement(java.io.Writer ww,
GralCfgElement cfge) |
(package private) void |
writeImage(GralCfgData.GuiCfgImage ee) |
(package private) void |
writeInputFile(GralCfgData.GuiCfgInputFile ee) |
(package private) void |
writeLed(GralCfgData.GuiCfgLed ee) |
private void |
writeParam(GralCfgData.GuiCfgWidget pp) |
private void |
writeParam(GralCfgData.GuiCfgWidget pp,
java.lang.String sep) |
(package private) void |
writePosition(java.io.Writer ww,
GralCfgElement cfge) |
(package private) void |
writeShowField(GralCfgData.GuiCfgShowField ee) |
(package private) void |
writeText(GralCfgData.GuiCfgText ee) |
(package private) void |
writeUnknown(GralCfgData.GuiCfgWidget ee) |
public static final java.lang.String version
GralCfgData#editable
instead changing the type of a text field from 'S' to 'T', but in writeShowField(org.vishia.gral.cfg.GralCfgData.GuiCfgShowField)
it is written as a "InputTextline(...". It means next read of the config reads it as editable.
private java.lang.String sLastPanel
final LogMessage log
java.io.Writer writer
public java.lang.String saveCfg(java.io.Writer dest, GralCfgData cfg)
void writeDataReplace(GralCfgData cfg) throws java.io.IOException
java.io.IOException
void writeElement(java.io.Writer ww, GralCfgElement cfge) throws java.io.IOException
java.io.IOException
void writePosition(java.io.Writer ww, GralCfgElement cfge) throws java.io.IOException
java.io.IOException
void writeShowField(GralCfgData.GuiCfgShowField ee) throws java.io.IOException
java.io.IOException
void writeLed(GralCfgData.GuiCfgLed ee) throws java.io.IOException
java.io.IOException
void writeImage(GralCfgData.GuiCfgImage ee) throws java.io.IOException
java.io.IOException
void writeInputFile(GralCfgData.GuiCfgInputFile ee) throws java.io.IOException
java.io.IOException
void writeButton(GralCfgData.GuiCfgButton ee) throws java.io.IOException
java.io.IOException
void writeText(GralCfgData.GuiCfgText ee) throws java.io.IOException
java.io.IOException
void writeUnknown(GralCfgData.GuiCfgWidget ee) throws java.io.IOException
java.io.IOException
private void writeParam(GralCfgData.GuiCfgWidget pp) throws java.io.IOException
java.io.IOException
private void writeParam(GralCfgData.GuiCfgWidget pp, java.lang.String sep) throws java.io.IOException
java.io.IOException