public class SharableEditor extends AbstractSharableWidget
限定符和类型 | 字段和说明 |
---|---|
protected Widget |
editor |
protected java.lang.String |
id |
protected java.util.HashMap<java.lang.String,java.lang.Object> |
paraMap |
protected TableDataSource |
tableDataSource |
static java.lang.String |
XML_TAG |
background, borderStyle, margin
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName
构造器和说明 |
---|
SharableEditor() |
SharableEditor(java.lang.String id,
Widget editor,
TableDataSource tableDataSource,
java.util.HashMap<java.lang.String,java.lang.Object> paraMap) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
canCurrentMarginAvailable(PaddingMargin margin)
当前设置的边距值是否可用,若设置后有控件达到最小尺寸则返回false
|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
Widget |
getEditor()
获取分享组件的editor
|
java.lang.String |
getId()
获取分享的组件ID
|
TableDataSource |
getTableDataSource()
获取form对象,用于输出内置数据
|
java.lang.String |
getXType()
控件xType,每个控件的特有标记和控件一一对应
|
int |
hashCode()
hash码
|
boolean |
isEditor()
是否是一个不需要在填报状态直接显示的编辑器
|
void |
readXML(XMLableReader reader)
Read XML.
|
void |
setEditor(Widget editor)
设置分享组件的editor
|
void |
setId(java.lang.String id)
设置分享的组件ID
|
java.lang.String[] |
supportedEvents()
支持事件
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
addWidgetAttrMark, clearMargin, createJSONConfig, getBackground, getBorderStyle, getMargin, getWidgetAttrMark, readExtra, setBackground, setBorderStyle, setBorderStyleNoBackground, setMargin
acceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, dealInvisible, dealWithPresentableValue, getContentHeight, getContentWidth, getDescription, getDisableAction, getEnableAction, getInvisibleAction, getLabelName, getVisibleAction, getWidgetName, getWidgetPrivilegeControl, hasDataOnInit, 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, getNameSpace, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
public static java.lang.String XML_TAG
protected java.lang.String id
protected Widget editor
protected TableDataSource tableDataSource
protected java.util.HashMap<java.lang.String,java.lang.Object> paraMap
public SharableEditor()
public SharableEditor(java.lang.String id, Widget editor, TableDataSource tableDataSource, java.util.HashMap<java.lang.String,java.lang.Object> paraMap)
public java.lang.String getId()
SharableEditorProvider
getId
在接口中 SharableEditorProvider
getId
在类中 UniqueKey
public void setId(java.lang.String id)
SharableEditorProvider
setId
在接口中 SharableEditorProvider
setId
在类中 UniqueKey
public Widget getEditor()
SharableEditorProvider
public void setEditor(Widget editor)
SharableEditorProvider
public TableDataSource getTableDataSource()
SharableEditorProvider
public boolean isEditor()
AbstractBorderStyleWidget
isEditor
在类中 AbstractBorderStyleWidget
public java.lang.String[] supportedEvents()
AbstractBorderStyleWidget
supportedEvents
在类中 AbstractBorderStyleWidget
public boolean canCurrentMarginAvailable(PaddingMargin margin)
AbstractBorderStyleWidget
canCurrentMarginAvailable
在类中 AbstractBorderStyleWidget
margin
- 边距public java.lang.String getXType()
Widget
getXType
在类中 AbstractBorderStyleWidget
public void readXML(XMLableReader reader)
Widget
readXML
在接口中 XMLReadable
readXML
在类中 AbstractBorderStyleWidget
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
Widget
writeXML
在接口中 XMLWriter
writeXML
在类中 AbstractBorderStyleWidget
writer
- the PrintWriter.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 AbstractBorderStyleWidget
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常