public class WidgetValueEditor extends AbstractPropertyEditor
| 构造器和说明 |
|---|
WidgetValueEditor(java.lang.Object o) |
WidgetValueEditor(java.lang.Object o,
boolean onlyServer) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Editor[] |
createWidgetValueEditor(DataControl data,
boolean onlyServer)
用DataControl构建
|
static Editor |
createWidgetValueEditorByType(int type,
boolean onlyServer)
根据类型创建
|
java.awt.Component |
getCustomEditor() |
java.lang.Object |
getValue() |
void |
setValue(java.lang.Object value) |
void |
validateValue()
值验证
|
addPropertyChangeListener, firePropertyChanged, getAsText, getJavaInitializationString, getTags, isPaintable, paintValue, refreshInTime, removePropertyChangeListener, setAsText, setDefaultValue, supportsCustomEditorpublic WidgetValueEditor(java.lang.Object o)
public WidgetValueEditor(java.lang.Object o,
boolean onlyServer)
public static Editor createWidgetValueEditorByType(int type, boolean onlyServer)
type - 类型onlyServer - 是否是服务器public static Editor[] createWidgetValueEditor(DataControl data, boolean onlyServer)
data - 数据onlyServer - 是否是服务器public void validateValue()
throws ValidationException
ValidationException - 异常public java.awt.Component getCustomEditor()
public java.lang.Object getValue()
public void setValue(java.lang.Object value)