public class DefaultTemplateCellElement extends AbstractExpandCellElement implements TemplateCellElement
限定符和类型 | 字段和说明 |
---|---|
protected int |
column |
protected int |
columnSpan |
protected int |
row |
protected int |
rowSpan |
optionalAttributes, style, value
构造器和说明 |
---|
DefaultTemplateCellElement()
初始化一个默认的单元格元素 行列为0,0
|
DefaultTemplateCellElement(int column,
int row)
初始化一个指定行列的单元格元素
|
DefaultTemplateCellElement(int column,
int row,
int columnSpan,
int rowSpan,
java.lang.Object value)
初始化一个指定行列, 行列跨度, 值的单元格元素
|
DefaultTemplateCellElement(int column,
int row,
java.lang.Object value)
初始化一个指定行列以及值的单元格元素
|
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.Object |
dealWithSaveValue4Compatible(java.lang.Object value) |
boolean |
equals(java.lang.Object o)
判断是否相等
|
protected CellElementAttribute |
getCellGUIAttrAttr() |
protected CellElementAttribute |
getCellInsertPolicyAttrAttr() |
int |
getColumn()
获取单元格所在的列
|
int |
getColumnSpan()
获取列跨度
|
protected CellElementAttribute |
getHighLightGroupAttr() |
protected CellElementAttribute |
getNameHyperLinkGroupAttr() |
protected CellElementAttribute |
getPageAttr() |
protected CellElementAttribute |
getPresentAttr() |
int |
getRow()
获取行
|
int |
getRowSpan()
获取行跨度
|
protected CellElementAttribute |
getWidgetAttr() |
boolean |
isNull()
判断是否为空
|
void |
readXML(XMLableReader reader)
读取子节点,并使optionalAttributes可共享
|
void |
setColumn(int col)
设置单元格所在的列
|
void |
setColumnSpan(int colSpan)
设置列跨度
|
void |
setRow(int row)
设置行
|
void |
setRowSpan(int rowSpan)
设置行跨度
|
java.lang.String |
toString()
Returns a string representation of the object
|
getCellExpandAttr, getCellExpandAttrAttr, setCellExpandAttr, writeXML
getCellInsertPolicyAttr, setCellInsertPolicyAttr
getHighlightGroup, getPresent, setHighlightGroup, setPresent
changeAuthorityState, clone, getWidget, setCompatibleWidget, setWidget
changeNewValueAuthorityState, cleanAuthority, clone, deriveCellElement, deriveCellElement, doExcelImportWithLeftSon, doExcelImportWithUpSon, ensureAttrNotShared, getCellGUIAttr, getCellPageAttr, getCellPrivilegeControl, getCellWidgetAttr, getNameHyperlinkGroup, getOptionalAttributes, getShowValue, getStyle, getValue, isDoneAuthority, isDoneNewValueAuthority, isExist, isReadyToDelete, lightClone, putAttr, removeAttr, setCellGUIAttr, setCellPageAttr, setCellPrivilegeControl, setNameHyperlinkGroup, setOptionalAttributes, setStyle, setValue, writeCommonResultAttrXML
clone, clone, deriveCellElement, deriveCellElement, doExcelImportWithLeftSon, doExcelImportWithUpSon, getCellPrivilegeControl, getShowValue, isExist, isReadyToDelete, writeCommonResultAttrXML
changeAuthorityState, changeNewValueAuthorityState, cleanAuthority, getNameHyperlinkGroup, getValue, isDoneAuthority, isDoneNewValueAuthority, setNameHyperlinkGroup, setValue
getStyle, setStyle
getCellExpandAttr, getCellGUIAttr, getCellPageAttr, setCellGUIAttr, setCellPageAttr
getWidget, setWidget
getHighlightGroup, getPresent, setHighlightGroup, setPresent
getCellInsertPolicyAttr, setCellInsertPolicyAttr
getCellExpandAttr, setCellExpandAttr
protected int column
protected int row
protected int columnSpan
protected int rowSpan
public DefaultTemplateCellElement()
public DefaultTemplateCellElement(int column, int row)
column
- 列row
- 行public DefaultTemplateCellElement(int column, int row, java.lang.Object value)
column
- 列row
- 行value
- 新值public DefaultTemplateCellElement(int column, int row, int columnSpan, int rowSpan, java.lang.Object value)
column
- 列row
- 行columnSpan
- 列跨度rowSpan
- 行跨度value
- 新值public int getColumn()
getColumn
在接口中 CellProvider
public int getColumnSpan()
getColumnSpan
在接口中 CellProvider
public void setColumnSpan(int colSpan)
setColumnSpan
在接口中 Cell
public int getRow()
getRow
在接口中 CellProvider
public int getRowSpan()
getRowSpan
在接口中 CellProvider
public void setRowSpan(int rowSpan)
setRowSpan
在接口中 Cell
public java.lang.String toString()
toString
在类中 java.lang.Object
protected CellElementAttribute getHighLightGroupAttr()
protected CellElementAttribute getPresentAttr()
getPresentAttr
在类中 AbstractDynamicCellElement
protected CellElementAttribute getWidgetAttr()
getWidgetAttr
在类中 AbstractWidgetCellElement
protected CellElementAttribute getCellGUIAttrAttr()
getCellGUIAttrAttr
在类中 AbstractCellElement
protected CellElementAttribute getNameHyperLinkGroupAttr()
protected CellElementAttribute getPageAttr()
getPageAttr
在类中 AbstractCellElement
protected CellElementAttribute getCellInsertPolicyAttrAttr()
protected java.lang.Object dealWithSaveValue4Compatible(java.lang.Object value)
public boolean equals(java.lang.Object o)
equals
在类中 AbstractCellElement
public boolean isNull()
isNull
在接口中 TemplateCellElement
public void readXML(XMLableReader reader)
readXML
在接口中 XMLReadable
readXML
在类中 AbstractExpandCellElement
reader
- XML读取对象XMLableReader