public class ListEditor extends WriteUnableRepeatEditor
FieldEditor.DependenceNameSpace
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
model, widgetValue
allowBlank, errorMessage, fontSize
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName
TYPE_BOOLEAN, TYPE_DATABINDING, TYPE_DATE, TYPE_FORMULA, TYPE_NUMBER, TYPE_STRING, TYPE_TABLEDATA
构造器和说明 |
---|
ListEditor() |
限定符和类型 | 方法和说明 |
---|---|
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor nodeVisitor)
以JSONObject方式返回Widget的配置信息
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFormatText()
获取控件设置的format
|
java.awt.Color |
getSelectionBackground() |
java.awt.Color |
getSelectionForeground() |
int[] |
getValueType()
返回支持的控件值类型
|
java.lang.String |
getXType()
控件xType,每个控件的特有标记和控件一一对应
|
boolean |
isEditor()
是否为编辑器
|
boolean |
isNeedHead()
是否需要表头
|
void |
readXML(XMLableReader reader)
Read XML.
|
void |
setNeedHead(boolean needHead) |
void |
setSelectionBackground(java.awt.Color color) |
void |
setSelectionForeground(java.awt.Color color) |
java.lang.String[] |
supportedEvents()
获取支持的事件
|
boolean |
supportMobile()
支持移动
|
boolean |
supportMultiple()
是否支持多选
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
createJSONData, createJSONData, createJSONDataByDefaultValue, createValueResult, dependence, getDataBindDefaultValue, getDependenceMap, getDictionary, getModuleValue, getViewValue, getWidgetValue, hasDataOnInit, isRemoveRepeat, parseDefaultValue, setDependenceMap, setDictionary, setRemoveRepeat, setWidgetValue
getErrorMessage, getFontSize, isAllowBlank, setAllowBlank, setErrorMessage, setFontSize, setWaterMarkConfig, toJSONString
acceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, clone, dealInvisible, dealWithPresentableValue, getContentHeight, getContentWidth, getDescription, getDisableAction, getEnableAction, getInvisibleAction, getLabelName, getVisibleAction, getWidgetName, getWidgetPrivilegeControl, hashCode, isChartRelated, isDirtyWidget, isDoneUsableAuthority, isDoneVisibleAuthority, isEnabled, isUsableAuthority, isVisible, isVisibleAuthority, resize, resize, setChartRelated, setDescription, setEnabled, setLabelName, setVisible, setWidgetName, setWidgetPrivilegeControl, toImage, toImage, toString, updateChildBounds, value2Config
addListener, clearListeners, createJSONListener, createListeners, dealWithListener4Compatible, getConvertMap, getListener, getListenerSize
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
public static final java.lang.String XML_TAG
public java.lang.String getXType()
Widget
public boolean isEditor()
isEditor
在类中 FieldEditor
public java.awt.Color getSelectionBackground()
public int[] getValueType()
DataControl
public void setSelectionBackground(java.awt.Color color)
public java.awt.Color getSelectionForeground()
public void setSelectionForeground(java.awt.Color color)
public boolean isNeedHead()
public void setNeedHead(boolean needHead)
public java.lang.String[] supportedEvents()
supportedEvents
在类中 FieldEditor
public boolean supportMobile()
supportMobile
在类中 Widget
public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor nodeVisitor) throws JSONException
createJSONConfig
在类中 WriteUnableRepeatEditor
repo
- : see Repository信息c
- : 指定解析器nodeVisitor
- 节点访问JSONException
- epublic void readXML(XMLableReader reader)
Widget
readXML
在接口中 XMLReadable
readXML
在类中 WriteUnableRepeatEditor
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
Widget
writeXML
在接口中 XMLWriter
writeXML
在类中 WriteUnableRepeatEditor
writer
- the PrintWriter.public boolean equals(java.lang.Object obj)
equals
在类中 WriteUnableRepeatEditor
public boolean supportMultiple()
WriteUnableRepeatEditor
supportMultiple
在类中 WriteUnableRepeatEditor
public java.lang.String getFormatText()
DataControl