public class ComboCheckBox extends ComboBox
FieldEditor.DependenceNameSpace
previewLimitData, widgetValue
dependenceMap, dictionary
directEdit, waterMark
allowBlank, errorMessage, fontSize
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG
TYPE_BOOLEAN, TYPE_DATABINDING, TYPE_DATE, TYPE_FORMULA, TYPE_NUMBER, TYPE_STRING, TYPE_TABLEDATA
构造器和说明 |
---|
ComboCheckBox() |
限定符和类型 | 方法和说明 |
---|---|
protected DataFilter |
createDataFilter() |
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor nodeVisitor)
以JSONObject方式返回Widget的配置信息
|
java.lang.Object |
dealWithPresentableValue(java.lang.String value)
控件所在单元格设置了形态的话,某些控件需要对value值特殊处理,
比如树控件可能需要将字符串当成json格式解析
其他类似有类似需求,就要重写此方法
|
boolean |
equals(java.lang.Object obj) |
protected void |
filterAndPutData(Calculator c,
JSONArray ja,
int limit,
int start,
java.lang.String filter) |
java.lang.String |
getDataBindDefaultValue(Calculator calculator)
当控件值是绑定字段时,计算控件值用于给参数赋默认值
|
java.lang.String |
getDelimiter() |
java.lang.String |
getEndSymbol() |
java.lang.String |
getStartSymbol() |
java.lang.String |
getXType()
控件xType,每个控件的特有标记和控件一一对应
|
boolean |
isReturnString()
是否以字符串形式返回
|
boolean |
isSupportTag()
是否以标签形式显示结果
|
java.lang.String |
parseDefaultValue(java.lang.Object defaultValue)
将默认值转换成字符串用于控件依赖计算
|
void |
readXML(XMLableReader reader)
Read XML.
|
void |
setDelimiter(java.lang.String delimiter) |
void |
setEndSymbol(java.lang.String end) |
void |
setReturnString(boolean returnString) |
void |
setStartSymbol(java.lang.String start) |
void |
setSupportTag(boolean sup) |
protected boolean |
supportMultiple()
是否支持多选
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
clone, createDataFilterIfNeed, createJSONData, createValueResult, dependence, getDependenceMap, getFormatText, getValueType, getWidgetValue, isReloadData, readDirectEditXML, setDependenceMap, setWidgetValue
addParameterAndDependenceNameSpaces, checkTargetModel, checkTargetView, getDictionary, getEntrysIterator, getModuleValue, getViewValue, removeParameterAndDependenceNameSpaces, setDictionary
isCustomData, setCustomData
getDelayTime, isRemoveRepeat, setDelayTime, setRemoveRepeat
getWaterMark, isDirectEdit, setDirectEdit, setWaterMark, supportedEvents
getErrorMessage, getFontSize, isAllowBlank, isEditor, setAllowBlank, setErrorMessage, setFontSize, setWaterMarkConfig, toJSONString
acceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, dealInvisible, getContentHeight, getContentWidth, getDescription, getDisableAction, getEnableAction, getInvisibleAction, getLabelName, getVisibleAction, getWidgetName, getWidgetPrivilegeControl, 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
public java.lang.String getDelimiter()
public void setDelimiter(java.lang.String delimiter)
public java.lang.String getStartSymbol()
public void setStartSymbol(java.lang.String start)
public java.lang.String getEndSymbol()
public void setEndSymbol(java.lang.String end)
public boolean isReturnString()
public void setReturnString(boolean returnString)
public java.lang.String getXType()
Widget
public boolean isSupportTag()
public void setSupportTag(boolean sup)
protected boolean supportMultiple()
ComboBox
supportMultiple
在类中 ComboBox
public java.lang.String parseDefaultValue(java.lang.Object defaultValue)
ComboBox
parseDefaultValue
在类中 ComboBox
defaultValue
- 默认值变成字符串public java.lang.String getDataBindDefaultValue(Calculator calculator)
DataControl
getDataBindDefaultValue
在接口中 DataControl
getDataBindDefaultValue
在类中 ComboBox
calculator
- 依赖数据public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor nodeVisitor) throws JSONException
createJSONConfig
在类中 ComboBox
repo
- : 交互环境c
- : 指定解析器nodeVisitor
- 节点访问JSONException
- 抛出异常protected void filterAndPutData(Calculator c, JSONArray ja, int limit, int start, java.lang.String filter) throws java.lang.Exception
filterAndPutData
在类中 ComboBox
java.lang.Exception
protected DataFilter createDataFilter()
createDataFilter
在类中 ComboBox
public void readXML(XMLableReader reader)
Widget
readXML
在接口中 XMLReadable
readXML
在类中 ComboBox
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
Widget
public java.lang.Object dealWithPresentableValue(java.lang.String value) throws java.lang.Exception
Widget
dealWithPresentableValue
在类中 Widget
value
- 控件值java.lang.Exception