public class WidgetXmlUtils
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
protected static java.lang.Class |
compatibleOldClass(XMLableReader reader) |
static Button |
readButton(XMLableReader reader)
读取按钮
|
static Widget |
readCellWidget(XMLableReader reader)
读取单元格控件
|
static FieldEditor |
readFieldEditor(XMLableReader reader)
读取编辑器控件
|
static Widget |
readWidget(XMLableReader reader)
读取控件
|
static RegExp |
readXMLReg(XMLableReader reader)
读取正则表达式
|
static WidgetConfig |
readXMLWidgetConfig(XMLableReader reader)
读取控件配置
|
static void |
writeXMLWidget(XMLPrintWriter writer,
Widget widget)
输出widget到XML
|
static void |
writeXMLWidget(XMLPrintWriter writer,
Widget widget,
java.awt.Point p)
输出widget到XML
|
static void |
writeXMLWidgetConfig(XMLPrintWriter writer,
WidgetConfig widgetConfig,
java.lang.String name)
输出控件配置
|
public static RegExp readXMLReg(XMLableReader reader)
reader
- XML读取器public static void writeXMLWidget(XMLPrintWriter writer, Widget widget)
writer
- XML输出器widget
- 控件public static void writeXMLWidget(XMLPrintWriter writer, Widget widget, java.awt.Point p)
writer
- XML输出器widget
- 控件p
- 行列坐标public static FieldEditor readFieldEditor(XMLableReader reader)
reader
- XML读取器public static Widget readCellWidget(XMLableReader reader)
reader
- XML读取器public static Widget readWidget(XMLableReader reader)
reader
- XML读取器protected static java.lang.Class compatibleOldClass(XMLableReader reader) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public static void writeXMLWidgetConfig(XMLPrintWriter writer, WidgetConfig widgetConfig, java.lang.String name)
writer
- XML输出器widgetConfig
- 控件配置name
- 控件名public static WidgetConfig readXMLWidgetConfig(XMLableReader reader)
reader
- XML读取器public static Button readButton(XMLableReader reader)
reader
- XML读取器