public class PageExportCellElement extends java.lang.Object implements ResultCellElement
限定符和类型 | 字段和说明 |
---|---|
protected CellElement |
cell |
static java.lang.String |
CELL_XML_TAG |
限定符 | 构造器和说明 |
---|---|
|
PageExportCellElement() |
|
PageExportCellElement(CellElement cell) |
|
PageExportCellElement(CellElement cell,
int column,
int row,
int columnspan,
int rowspan) |
protected |
PageExportCellElement(CellElement cell,
int column,
int row,
int columnspan,
int rowspan,
java.lang.Object value) |
限定符和类型 | 方法和说明 |
---|---|
void |
changeAuthorityState(java.lang.String selectedRole,
boolean isVisible)
判断对应的角色的元素的可见状态,是否做过权限编辑,若是做过权限编辑,则加入都已经做过权限编辑的角色列表中
|
void |
changeNewValueAuthorityState(java.lang.String selectedRole,
boolean isChooseNewValue,
java.lang.Object newValue)
改变元素新值权限编辑的状态
|
void |
cleanAuthority(java.lang.String selectedRole)
恢复到默认的额权限编辑
|
java.lang.Object |
clone()
Clone.
|
CellElement |
clone(int column,
int row,
int columnSpan,
int rowSpan) |
CellElement |
deriveCellElement(int column,
int row)
得到具体行列的单元格对象
|
CellElement |
deriveCellElement(int column,
int row,
int columnSpan,
int rowSpan)
得到具体的单元格对象
|
void |
doExcelImportWithLeftSon(ResultECReport curReport,
CellElement ce,
int topCol,
int topRow,
int span)
excelLeftSon带导出
|
void |
doExcelImportWithUpSon(ResultECReport curReport,
CellElement ce,
int topCol,
int topRow,
int span)
excel带UpSon导出
|
BrokenCellInfo |
getBrokenCellInfo() |
CellElement |
getCell() |
CellExpandAttr |
getCellExpandAttr() |
CellGUIAttr |
getCellGUIAttr()
Gets the attributes of GUI.
|
CellPageAttr |
getCellPageAttr()
Gets the CellPageAttr.
|
CellPrivilegeControl |
getCellPrivilegeControl() |
int |
getColumn() |
int |
getColumnSpan() |
NameJavaScriptGroup |
getNameHyperlinkGroup()
Gets NameHyperlinkGroup
|
CellElement |
getOldCell() |
int |
getRow() |
int |
getRowSpan() |
java.lang.Object |
getShowValue() |
Style |
getStyle()
Gets style.
|
java.lang.Object |
getValue()
Gets the value of the cell element.
|
boolean |
isDoneAuthority(java.lang.String selectedRole)
判断对听的角色是否做过权限编辑
|
boolean |
isDoneNewValueAuthority(java.lang.String selectedRole)
该单元格该角色是否做过新值的权限控制
|
boolean |
isExist()
元素是否存在
|
boolean |
isReadyToDelete()
是否准备删除
|
boolean |
isView()
是否是数据分析属性
|
boolean |
isWriter()
是否是填报属性
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setBrokenCellInfo(BrokenCellInfo info) |
void |
setCellGUIAttr(CellGUIAttr cellGUIAttr)
Sets the attributes of GUI.
|
void |
setCellPageAttr(CellPageAttr cellPageAttr)
Sets the CellPageAttr.
|
void |
setColumn(int col) |
void |
setColumnSpan(int colSpan) |
void |
setNameHyperlinkGroup(NameJavaScriptGroup nameHyperlinkGroup)
Sets NameHyperlinkGroup
|
void |
setRow(int row) |
void |
setRowSpan(int rowSpan) |
void |
setStyle(Style style)
Sets style.
|
void |
setValue(java.lang.Object value)
Set the value to the cell element.
|
void |
writeCommonResultAttrXML(XMLPrintWriter writer)
写属性到xml文件里面
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
protected CellElement cell
public static final java.lang.String CELL_XML_TAG
public PageExportCellElement()
public PageExportCellElement(CellElement cell)
public PageExportCellElement(CellElement cell, int column, int row, int columnspan, int rowspan)
protected PageExportCellElement(CellElement cell, int column, int row, int columnspan, int rowspan, java.lang.Object value)
public BrokenCellInfo getBrokenCellInfo()
public void setBrokenCellInfo(BrokenCellInfo info)
public CellElement clone(int column, int row, int columnSpan, int rowSpan) throws java.lang.CloneNotSupportedException
clone
在接口中 CellElement
java.lang.CloneNotSupportedException
public void doExcelImportWithLeftSon(ResultECReport curReport, CellElement ce, int topCol, int topRow, int span)
doExcelImportWithLeftSon
在接口中 CellElement
curReport
- 当前报表ce
- 单元格元素topCol
- top列topRow
- top行span
- 跨度public void doExcelImportWithUpSon(ResultECReport curReport, CellElement ce, int topCol, int topRow, int span)
doExcelImportWithUpSon
在接口中 CellElement
curReport
- 当前报表ce
- 单元格元素topCol
- top列topRow
- top行span
- 跨度public boolean isReadyToDelete()
isReadyToDelete
在接口中 CellElement
public CellElement deriveCellElement(int column, int row)
deriveCellElement
在接口中 CellElement
column
- 列row
- 行public CellElement deriveCellElement(int column, int row, int columnSpan, int rowSpan)
deriveCellElement
在接口中 CellElement
column
- 列row
- 行columnSpan
- 列数rowSpan
- 行数public int getColumn()
getColumn
在接口中 CellProvider
public int getColumnSpan()
getColumnSpan
在接口中 CellProvider
public int getRow()
getRow
在接口中 CellProvider
public int getRowSpan()
getRowSpan
在接口中 CellProvider
public void setColumnSpan(int colSpan)
setColumnSpan
在接口中 Cell
public void setRowSpan(int rowSpan)
setRowSpan
在接口中 Cell
public CellGUIAttr getCellGUIAttr()
ShowAttrElem
getCellGUIAttr
在接口中 ShowAttrElem
public CellPageAttr getCellPageAttr()
ShowAttrElem
getCellPageAttr
在接口中 ShowAttrElem
public NameJavaScriptGroup getNameHyperlinkGroup()
Elem
getNameHyperlinkGroup
在接口中 Elem
public Style getStyle()
StyleProvider
getStyle
在接口中 StyleProvider
public CellElement getOldCell()
public java.lang.Object getValue()
Elem
getValue
在接口中 Elem
String
,
Boolean
,
Number
,
Date
,
BaseFormula
,
Report
,
Image
,
Painter
public void setCellGUIAttr(CellGUIAttr cellGUIAttr)
ShowAttrElem
setCellGUIAttr
在接口中 ShowAttrElem
public void setCellPageAttr(CellPageAttr cellPageAttr)
ShowAttrElem
setCellPageAttr
在接口中 ShowAttrElem
cellPageAttr
- the new CellPageAttr.public void setNameHyperlinkGroup(NameJavaScriptGroup nameHyperlinkGroup)
Elem
setNameHyperlinkGroup
在接口中 Elem
public void setStyle(Style style)
StyleProvider
setStyle
在接口中 StyleProvider
style
- the new style.public void setValue(java.lang.Object value)
Elem
public boolean isDoneAuthority(java.lang.String selectedRole)
isDoneAuthority
在接口中 Elem
selectedRole
- 角色名public boolean isDoneNewValueAuthority(java.lang.String selectedRole)
isDoneNewValueAuthority
在接口中 Elem
selectedRole
- 选择的角色public void changeNewValueAuthorityState(java.lang.String selectedRole, boolean isChooseNewValue, java.lang.Object newValue)
changeNewValueAuthorityState
在接口中 Elem
selectedRole
- 角色名isChooseNewValue
- 新值复选框是否选中newValue
- 对应的新值public void changeAuthorityState(java.lang.String selectedRole, boolean isVisible)
changeAuthorityState
在接口中 Elem
selectedRole
- 角色名isVisible
- 元素可见状态public void cleanAuthority(java.lang.String selectedRole)
cleanAuthority
在接口中 Elem
selectedRole
- 清除角色public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 CellElement
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.Object getShowValue()
getShowValue
在接口中 CellElement
public boolean isExist()
isExist
在接口中 CellElement
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public void writeCommonResultAttrXML(XMLPrintWriter writer)
writeCommonResultAttrXML
在接口中 CellElement
writer
- 写的writerpublic CellElement getCell()
public CellPrivilegeControl getCellPrivilegeControl()
getCellPrivilegeControl
在接口中 CellElement
public CellExpandAttr getCellExpandAttr()
getCellExpandAttr
在接口中 ShowAttrElem
public boolean isWriter()
isWriter
在接口中 ResultCellElement
public boolean isView()
isView
在接口中 ResultCellElement