public abstract class DirectWriteEditor extends FieldEditor implements WaterMark
FieldEditor.DependenceNameSpace
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
directEdit
richer: 是否需要直接编辑,只针对下拉框、下拉复选框、时间、日期、下拉树控件
|
protected java.lang.String |
waterMark
水印
|
allowBlank, errorMessage, fontSize
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG
构造器和说明 |
---|
DirectWriteEditor() |
限定符和类型 | 方法和说明 |
---|---|
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor nodeVisitor)
以JSONObject方式返回Widget的配置信息
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getWaterMark() |
boolean |
isDirectEdit()
是否允许直接编辑
|
protected void |
readDirectEditXML(XMLableReader reader) |
void |
readXML(XMLableReader reader)
Read XML.
|
void |
setDirectEdit(boolean directEdit) |
void |
setWaterMark(java.lang.String waterMark) |
java.lang.String[] |
supportedEvents()
支持的事件
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
createJSONData, dependence, getErrorMessage, getFontSize, isAllowBlank, isEditor, setAllowBlank, setErrorMessage, setFontSize, setWaterMarkConfig, toJSONString
acceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, clone, dealInvisible, dealWithPresentableValue, getContentHeight, getContentWidth, getDescription, getDisableAction, getEnableAction, getInvisibleAction, getLabelName, getVisibleAction, getWidgetName, getWidgetPrivilegeControl, getXType, hasDataOnInit, hashCode, isChartRelated, isDirtyWidget, isDoneUsableAuthority, isDoneVisibleAuthority, isEnabled, isUsableAuthority, isVisible, isVisibleAuthority, resize, resize, setChartRelated, setDescription, setEnabled, setLabelName, setVisible, setWidgetName, setWidgetPrivilegeControl, supportMobile, toImage, toImage, toString, updateChildBounds, value2Config
addListener, clearListeners, createJSONListener, createListeners, dealWithListener4Compatible, getConvertMap, getListener, getListenerSize
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
protected boolean directEdit
protected java.lang.String waterMark
public boolean isDirectEdit()
public void setDirectEdit(boolean directEdit)
public void setWaterMark(java.lang.String waterMark)
setWaterMark
在接口中 WaterMark
public java.lang.String getWaterMark()
getWaterMark
在接口中 WaterMark
public java.lang.String[] supportedEvents()
supportedEvents
在类中 FieldEditor
public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor nodeVisitor) throws JSONException
createJSONConfig
在类中 FieldEditor
repo
- : 信息c
- : 指定解析器nodeVisitor
- 节点访问JSONException
- JSON异常public void readXML(XMLableReader reader)
Widget
readXML
在接口中 XMLReadable
readXML
在类中 FieldEditor
reader
- XML读取对象XMLableReader
protected void readDirectEditXML(XMLableReader reader)
public void writeXML(XMLPrintWriter writer)
Widget
writeXML
在接口中 XMLWriter
writeXML
在类中 FieldEditor
writer
- the PrintWriter.public boolean equals(java.lang.Object obj)
equals
在类中 FieldEditor