public abstract class DictContainedCustomWriteAbleEditor extends CustomWriteAbleRepeatEditor implements DictionaryContainer
FieldEditor.DependenceNameSpace
限定符和类型 | 字段和说明 |
---|---|
protected java.util.Map |
dependenceMap
依赖的控件(用于绑定绑定联动关系)
|
protected Dictionary |
dictionary
数据字典
|
directEdit, waterMark
allowBlank, errorMessage, fontSize
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG
构造器和说明 |
---|
DictContainedCustomWriteAbleEditor() |
限定符和类型 | 方法和说明 |
---|---|
protected java.util.List<NameSpace> |
addParameterAndDependenceNameSpaces(Calculator c,
TemplateSessionIDInfo sessionIDInfor,
javax.servlet.http.HttpServletRequest req) |
protected java.lang.Object |
checkTargetModel(java.lang.Object text,
Calculator c,
TemplateSessionIDInfo sessionIDInfor,
javax.servlet.http.HttpServletRequest req,
Dictionary dictionary) |
protected java.lang.Object |
checkTargetView(java.lang.Object text,
Calculator c,
TemplateSessionIDInfo sessionIDInfor,
javax.servlet.http.HttpServletRequest req,
Dictionary dictionary) |
java.util.Map |
getDependenceMap()
获取依赖键值对
|
Dictionary |
getDictionary() |
protected java.util.Iterator |
getEntrysIterator(Calculator c,
TemplateSessionIDInfo sessionIDInfor,
javax.servlet.http.HttpServletRequest req,
Dictionary dictionary) |
java.lang.Object |
getModuleValue(java.lang.Object text,
Calculator c,
TemplateSessionIDInfo sessionIDInfor,
javax.servlet.http.HttpServletRequest req)
根据传入的值获取实际值,传入的值为显示值或实际值都可以
|
java.lang.Object |
getViewValue(java.lang.Object value,
Calculator c,
TemplateSessionIDInfo sessionIDInfor,
javax.servlet.http.HttpServletRequest req)
根据传入的值获取显示值,传入的值为显示值或实际值都可以
|
boolean |
isReloadData(javax.servlet.http.HttpServletRequest req)
是否重新load数据
|
protected void |
removeParameterAndDependenceNameSpaces(Calculator c,
java.util.List<NameSpace> nameSpaceList) |
void |
setDependenceMap(java.util.Map dependenceMap)
设置依赖键值对
|
void |
setDictionary(Dictionary dictionary) |
createJSONConfig, equals, isCustomData, readXML, setCustomData, writeXML
getDelayTime, isRemoveRepeat, setDelayTime, setRemoveRepeat
getWaterMark, isDirectEdit, readDirectEditXML, setDirectEdit, setWaterMark, supportedEvents
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
dependence
protected Dictionary dictionary
protected java.util.Map dependenceMap
public Dictionary getDictionary()
getDictionary
在接口中 DictionaryContainer
public void setDictionary(Dictionary dictionary)
setDictionary
在接口中 DictionaryContainer
public java.util.Map getDependenceMap()
WidgetDependProvider
getDependenceMap
在接口中 WidgetDependProvider
public void setDependenceMap(java.util.Map dependenceMap)
WidgetDependProvider
setDependenceMap
在接口中 WidgetDependProvider
dependenceMap
- 键值对public java.lang.Object getViewValue(java.lang.Object value, Calculator c, TemplateSessionIDInfo sessionIDInfor, javax.servlet.http.HttpServletRequest req)
DictionaryContainer
getViewValue
在接口中 DictionaryContainer
value
- 传入的值c
- 算子对象req
- @return 显示值protected java.util.Iterator getEntrysIterator(Calculator c, TemplateSessionIDInfo sessionIDInfor, javax.servlet.http.HttpServletRequest req, Dictionary dictionary)
protected void removeParameterAndDependenceNameSpaces(Calculator c, java.util.List<NameSpace> nameSpaceList)
protected java.util.List<NameSpace> addParameterAndDependenceNameSpaces(Calculator c, TemplateSessionIDInfo sessionIDInfor, javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getModuleValue(java.lang.Object text, Calculator c, TemplateSessionIDInfo sessionIDInfor, javax.servlet.http.HttpServletRequest req)
DictionaryContainer
getModuleValue
在接口中 DictionaryContainer
text
- 传入的值c
- 算子对象protected java.lang.Object checkTargetModel(java.lang.Object text, Calculator c, TemplateSessionIDInfo sessionIDInfor, javax.servlet.http.HttpServletRequest req, Dictionary dictionary)
protected java.lang.Object checkTargetView(java.lang.Object text, Calculator c, TemplateSessionIDInfo sessionIDInfor, javax.servlet.http.HttpServletRequest req, Dictionary dictionary)
public boolean isReloadData(javax.servlet.http.HttpServletRequest req)
req
- http请求