public class IframeEditor extends FieldEditor implements Interactive
FieldEditor.DependenceNameSpace| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
XML_TAG |
allowBlank, errorMessage, fontSizeAFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName| 构造器和说明 |
|---|
IframeEditor() |
IframeEditor(java.lang.String src) |
| 限定符和类型 | 方法和说明 |
|---|---|
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor nodeVisitor)
以JSONObject方式返回Widget的配置信息
|
JSONArray |
createJSONData(TemplateSessionIDInfo sessionIDInfor,
Calculator c,
javax.servlet.http.HttpServletRequest req)
生成控件数据的JSONArray。
|
boolean |
equals(java.lang.Object obj) |
ParameterProvider[] |
getParameters() |
java.lang.String |
getSrc() |
java.lang.String |
getXType()
控件xType,每个控件的特有标记和控件一一对应
|
boolean |
isEditor()
是否为编辑器
|
boolean |
isOverflowx()
是否支持横向滚动
|
boolean |
isOverflowy()
是否支持纵向滚动
|
void |
mixinReturnData(javax.servlet.http.HttpServletRequest req,
Calculator ca,
JSONObject widgetResult)
获取完整的url路径 表单才会走这里
|
void |
readXML(XMLableReader reader)
Read XML.
|
void |
setOverflowx(boolean overflowx) |
void |
setOverflowy(boolean overflowy) |
void |
setParameters(ParameterProvider[] parameters) |
void |
setSrc(java.lang.String src) |
java.lang.String[] |
supportedEvents()
支持js事件
|
boolean |
supportMobile()
支持移动端
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
dependence, getErrorMessage, getFontSize, isAllowBlank, setAllowBlank, setErrorMessage, setFontSize, setWaterMarkConfig, toJSONStringacceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, clone, dealInvisible, dealWithPresentableValue, 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, toImage, toImage, toString, updateChildBounds, value2ConfigaddListener, clearListeners, createJSONListener, createListeners, dealWithListener4Compatible, getConvertMap, getListener, getListenerSizecopy, getId, getNameSpace, setId, setNameSpacegetClassInfo, getData, invalidate, isLoad, setClassInfo, setDatapublic static final java.lang.String XML_TAG
public boolean isEditor()
isEditor 在类中 FieldEditorpublic java.lang.String getSrc()
public void setSrc(java.lang.String src)
public boolean isOverflowx()
public void setOverflowx(boolean overflowx)
public boolean isOverflowy()
public void setOverflowy(boolean overflowy)
public boolean supportMobile()
supportMobile 在类中 Widgetpublic ParameterProvider[] getParameters()
public void setParameters(ParameterProvider[] parameters)
public java.lang.String getXType()
Widgetpublic java.lang.String[] supportedEvents()
supportedEvents 在类中 FieldEditorpublic JSONArray createJSONData(TemplateSessionIDInfo sessionIDInfor, Calculator c, javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
createJSONData 在类中 FieldEditorsessionIDInfor - 会话信息c - 算子req - http请求java.lang.Exceptionpublic JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor nodeVisitor) throws JSONException
createJSONConfig 在类中 FieldEditorrepo - 浏览器信息c - 指定解析器nodeVisitor - 节点访问JSONExceptionpublic void mixinReturnData(javax.servlet.http.HttpServletRequest req,
Calculator ca,
JSONObject widgetResult)
throws JSONException
mixinReturnData 在接口中 Interactiveca - 算子widgetResult - 控件结果req - HTTP请求JSONExceptionpublic void readXML(XMLableReader reader)
WidgetreadXML 在接口中 XMLReadablereadXML 在类中 FieldEditorreader - XML读取对象XMLableReaderpublic void writeXML(XMLPrintWriter writer)
WidgetwriteXML 在接口中 XMLWriterwriteXML 在类中 FieldEditorwriter - the PrintWriter.public boolean equals(java.lang.Object obj)
equals 在类中 FieldEditor