public abstract class AbstractWidgetCellElement extends AbstractCellElement implements WidgetAttrElem
optionalAttributes, style, value
构造器和说明 |
---|
AbstractWidgetCellElement() |
限定符和类型 | 方法和说明 |
---|---|
void |
changeAuthorityState(java.lang.String selectedRole,
boolean isVisible)
判断对应的角色的单元格的可见状态,是否做过权限编辑,若是做过权限编辑,则加入都已经做过权限编辑的角色列表中
|
java.lang.Object |
clone()
自定义克隆方法
|
Widget |
getWidget()
获取单元格内的控件:
比如从设计器中获取当前编辑面板的A1格子的控件:
((JWorkBook)DesignerContext.getDesignerFrame().getSelectedJTemplate()).getEditingElementCasePane()
getEditingElementCase().getCellElement(0,0).getWidget();
|
protected abstract CellElementAttribute |
getWidgetAttr() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
protected void |
setCompatibleWidget(Widget widget) |
void |
setWidget(Widget widget)
设置控件
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
changeNewValueAuthorityState, cleanAuthority, clone, dealWithSaveValue4Compatible, deriveCellElement, deriveCellElement, doExcelImportWithLeftSon, doExcelImportWithUpSon, ensureAttrNotShared, equals, getCellExpandAttr, getCellGUIAttr, getCellGUIAttrAttr, getCellPageAttr, getCellPrivilegeControl, getCellWidgetAttr, getNameHyperlinkGroup, getNameHyperLinkGroupAttr, getOptionalAttributes, getPageAttr, getShowValue, getStyle, getValue, isDoneAuthority, isDoneNewValueAuthority, isExist, isReadyToDelete, lightClone, putAttr, removeAttr, setCellGUIAttr, setCellPageAttr, setCellPrivilegeControl, setNameHyperlinkGroup, setOptionalAttributes, setStyle, setValue, writeCommonResultAttrXML
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setColumn, setColumnSpan, setRow, setRowSpan
getColumn, getColumnSpan, getRow, getRowSpan
protected abstract CellElementAttribute getWidgetAttr()
public Widget getWidget()
WidgetAttrElem
getWidget
在接口中 WidgetAttrElem
protected void setCompatibleWidget(Widget widget)
public void setWidget(Widget widget)
WidgetAttrElem
setWidget
在接口中 WidgetAttrElem
widget
- 控件public void writeXML(XMLPrintWriter writer)
XMLWriter
writeXML
在接口中 XMLWriter
writeXML
在类中 AbstractCellElement
writer
- XML写入对象public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
readXML
在类中 AbstractCellElement
reader
- XML读取对象XMLableReader
public void changeAuthorityState(java.lang.String selectedRole, boolean isVisible)
changeAuthorityState
在接口中 Elem
changeAuthorityState
在类中 AbstractCellElement
selectedRole
- 角色名isVisible
- 单元格可见状态public java.lang.Object clone() throws java.lang.CloneNotSupportedException
AbstractCellElement
clone
在接口中 CellElement
clone
在类中 AbstractCellElement
java.lang.CloneNotSupportedException
- 异常