public class WriteCEInfo extends java.lang.Object implements WriteCellElementInfo
Created by rinoux on 2017/6/5.
| 限定符和类型 | 方法和说明 |
|---|---|
WriteCellElementInfo |
clone(int column,
int row,
int columnSpan,
int rowSpan)
克隆非位置属性
|
static WriteCellElementInfo |
create(WriteCellElement ce) |
boolean |
equals(java.lang.Object o) |
BlockType |
getBlockType()
获取此单元格所在的block
|
WriteBorder |
getBorder()
获取边框样式
|
WriteCellElement |
getCE()
获得单元格对象
|
java.lang.String |
getCeId()
获得ID
|
int |
getColumn() |
int |
getColumnSpan() |
WriteDimension |
getDimension()
获得单元格在报表中的像素信息
|
java.text.Format |
getFormat()
获得单元格值的格式
|
int |
getRow() |
int |
getRowSpan() |
Style |
getStyle()
获得单元格样式
|
java.lang.Object |
getValue()
获取单元格的值
|
WriteCEValueInfo |
getValueInfo(Calculator calculator,
Repository repo)
获得WriteCEValueInfo
|
Widget |
getWidget()
获得单元格的控件信息
|
int |
hashCode() |
boolean |
isSplit() |
boolean |
needForceReload()
表示前端是否需要强制重新加载单元格
|
void |
resetForceReloadState()
清除`需要强制重新加载`的状态
|
void |
setBlockType(BlockType blockType)
设置所在block信息
|
void |
setBorder(WriteBorder border)
设置边框
|
void |
setColumnSpan(int columnSpan) |
void |
setDimension(WriteDimension dimension)
设置dimension
|
void |
setRowSpan(int rowSpan) |
void |
setStyle(Style style)
设置单元格样式
|
void |
setUpdated()
设置更新状态
|
void |
setValue(java.lang.Object value)
设置单元格值
|
void |
setWidget(Widget widget)
设置控件
|
void |
stretch(int x,
int y)
延伸
|
void |
translate(int x,
int y)
平移
|
boolean |
updated()
是否更新过
|
public static WriteCellElementInfo create(WriteCellElement ce)
public java.lang.Object getValue()
WriteCellElementInfogetValue 在接口中 WriteCellElementInfopublic void setValue(java.lang.Object value)
WriteCellElementInfosetValue 在接口中 WriteCellElementInfopublic Widget getWidget()
WriteCellElementInfogetWidget 在接口中 WriteCellElementInfopublic void setWidget(Widget widget)
WriteCellElementInfosetWidget 在接口中 WriteCellElementInfopublic void setColumnSpan(int columnSpan)
setColumnSpan 在接口中 WriteCellElementInfopublic void setRowSpan(int rowSpan)
setRowSpan 在接口中 WriteCellElementInfopublic int getColumn()
getColumn 在接口中 WriteCellElementInfopublic int getColumnSpan()
getColumnSpan 在接口中 WriteCellElementInfopublic int getRow()
getRow 在接口中 WriteCellElementInfopublic int getRowSpan()
getRowSpan 在接口中 WriteCellElementInfopublic java.text.Format getFormat()
WriteCellElementInfogetFormat 在接口中 WriteCellElementInfopublic WriteDimension getDimension()
WriteCellElementInfogetDimension 在接口中 WriteCellElementInfopublic void setDimension(WriteDimension dimension)
WriteCellElementInfosetDimension 在接口中 WriteCellElementInfopublic Style getStyle()
WriteCellElementInfogetStyle 在接口中 WriteCellElementInfopublic void setStyle(Style style)
WriteCellElementInfosetStyle 在接口中 WriteCellElementInfopublic WriteBorder getBorder()
WriteCellElementInfogetBorder 在接口中 WriteCellElementInfopublic void setBorder(WriteBorder border)
WriteCellElementInfosetBorder 在接口中 WriteCellElementInfopublic WriteCellElement getCE()
WriteCellElementInfogetCE 在接口中 WriteCellElementInfopublic WriteCEValueInfo getValueInfo(Calculator calculator, Repository repo)
WriteCellElementInfogetValueInfo 在接口中 WriteCellElementInfopublic java.lang.String getCeId()
WriteCellElementInfogetCeId 在接口中 WriteCellElementInfopublic void translate(int x,
int y)
WriteCellElementInfotranslate 在接口中 WriteCellElementInfox - 向右y - 向下public void stretch(int x,
int y)
WriteCellElementInfostretch 在接口中 WriteCellElementInfox - 向下y - 向右public boolean updated()
WriteCellElementInfoupdated 在接口中 WriteCellElementInfopublic void setUpdated()
WriteCellElementInfosetUpdated 在接口中 WriteCellElementInfopublic boolean needForceReload()
WriteCellElementInfoneedForceReload 在接口中 WriteCellElementInfopublic void resetForceReloadState()
WriteCellElementInforesetForceReloadState 在接口中 WriteCellElementInfopublic BlockType getBlockType()
WriteCellElementInfogetBlockType 在接口中 WriteCellElementInfopublic void setBlockType(BlockType blockType)
WriteCellElementInfosetBlockType 在接口中 WriteCellElementInfoblockType - blockTypepublic boolean equals(java.lang.Object o)
equals 在接口中 WriteCellElementInfoequals 在类中 java.lang.Objectpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic boolean isSplit()
isSplit 在接口中 WriteCellElementInfopublic WriteCellElementInfo clone(int column, int row, int columnSpan, int rowSpan)
WriteCellElementInfoclone 在接口中 WriteCellElementInfo