public class TemplateElementCaseBlockImplement extends ElementCaseBlockImplement implements TemplateElementCase, TemplateBlock
cellcase, floatElementList, INIT_COLUMN_NUMBER, reportPageAttr, XML_TAGFIT, KEY, PAPER_HEIGHT, PAPER_WHDTH, TOOLBAR_HEIGHT, WEB_PAGE, XML_TAG| 构造器和说明 |
|---|
TemplateElementCaseBlockImplement(CellElementCaseCreator creator) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCellElement(TemplateCellElement cell)
添加单元格
|
void |
addCellElement(TemplateCellElement cell,
boolean override)
添加单元格
|
void |
addPropertyListener(PropertyChangeListener l)
添加属性表监听
|
SheetExecutor |
createExecutor(TemplateReport report,
java.util.Map parameterMap,
BlockSequenceExecutor bExecuter)
创建当前对象计算器
|
void |
firePropertyChange()
触发属性表改变事件
|
int[] |
getHorizontalLine()
获取当前块在水平方向上需要绘制的线
|
TemplateCellElement |
getTemplateCellElement(int column,
int row)
Gets the Cell at the specified position(column, row).
|
int[] |
getVerticalLine()
获取当前块在垂直方向上需要绘制的线
报表块需要画出行列线, 图表块暂时没需求, 以后可以画出一些轴的对齐线
返回的线已经加上了当前块的起点坐标
|
boolean |
removeCellElement(TemplateCellElement cell)
移除单元格
|
TemplateCellElement |
removeTemplateCellElement(int column,
int row)
移除单元格
|
void |
setBlockAttr(PolyBlockAttr blockAttr)
设置块的属性
|
void |
setBounds(UnitRectangle bounds,
PolyWorkSheet sheet)
调整块的大小与位置, 调整后, 动态改变sheet内其他的块的位置
|
createDefaultCellElementCase, getBlockAttr, getBlockName, getBounds, isCells, resetRowAndColumnLength, setBlockName, setBounds__mod_column_row, addCellElement, addCellElement, addColumnPrivilegeControl, addFloatElement, addRowPrivilegeControl, bringFloatElementForward, bringFloatElementToFront, cacheCellElement, cellIterator, clone, cloneWithoutCellCase, cloneWithoutCellCase, equals, floatIterator, getCellCase, getCellElement, getCellTableDataSet, getCellValue, getColumn, getColumnCount, getColumnPrivilegeControl, getColumnWidth, getColumnWidthList_DEC, getFloatElement, getReportPageAttr, getRow, getRowCount, getRowHeight, getRowHeightList_DEC, getRowPrivilegeControl, insertColumn, insertRow, intersect, merge, prepare2ShrinkRealWidthOrHeight4Cell, readXML, recalculateCellCase, releaseCellElementCache, removeAllCellElements, removeAllFloatElements, removeCellElement, removeCellElement, removeColumn, removeColumnPrivilegeControl, removeFloatElement, removeFloatElement, removeRow, removeRowPrivilegeControl, sendFloatElementBackward, sendFloatElementToBack, setCellCase, setCellValue, setColumnWidth, setColumnWidthList_DEC, setReportPageAttr, setRowHeight, setRowHeightList_DEC, shrinkTOFitColumnWidthForCellElement, shrinkToFitPaper, shrinkTOFitRowHeightForCellElement, writeCommonXML, writeReportPageAttrXML, writeXMLfinalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddColumnPrivilegeControl, addRowPrivilegeControl, getColumnPrivilegeControl, getColumnWidthList_DEC, getRowHeightList_DEC, getRowPrivilegeControl, prepare2ShrinkRealWidthOrHeight4Cell, removeColumnPrivilegeControl, removeRowPrivilegeControl, setColumnWidth, setReportPageAttr, setRowHeight, shrinkTOFitColumnWidthForCellElement, shrinkToFitPaper, shrinkTOFitRowHeightForCellElementgetCellElement, getCellValue, getColumn, insertColumn, insertRow, intersect, merge, removeAllCellElements, removeCellElement, removeColumn, removeRow, setCellValueaddFloatElement, bringFloatElementForward, bringFloatElementToFront, getFloatElement, removeAllFloatElements, removeFloatElement, removeFloatElement, sendFloatElementBackward, sendFloatElementToBackgetReportPageAttrcellIterator, getColumnCount, getColumnWidth, getRow, getRowCount, getRowHeightfloatIteratorgetBlockAttr, getBlockName, getBounds, isCells, setBlockName, setBoundsreadXMLclonepublic TemplateElementCaseBlockImplement(CellElementCaseCreator creator)
public void addCellElement(TemplateCellElement cell)
addCellElement 在接口中 TemplateElementCasecell - 指定单元格public void addCellElement(TemplateCellElement cell, boolean override)
addCellElement 在接口中 TemplateElementCasecell - 指定单元格override - 是否覆盖public TemplateCellElement getTemplateCellElement(int column, int row)
TemplateElementCasegetTemplateCellElement 在接口中 TemplateElementCasecolumn - the column.row - the row.public boolean removeCellElement(TemplateCellElement cell)
removeCellElement 在接口中 TemplateElementCasecell - 指定单元格public TemplateCellElement removeTemplateCellElement(int column, int row)
removeTemplateCellElement 在接口中 TemplateElementCasecolumn - 列row - 行public SheetExecutor createExecutor(TemplateReport report, java.util.Map parameterMap, BlockSequenceExecutor bExecuter)
createExecutor 在接口中 TemplateBlockreport - 报表parameterMap - 参数mapbExecuter - 块计算序列public void setBlockAttr(PolyBlockAttr blockAttr)
TemplateBlocksetBlockAttr 在接口中 TemplateBlockpublic void setBounds(UnitRectangle bounds, PolyWorkSheet sheet)
TemplateBlocksetBounds 在接口中 TemplateBlockbounds - 新的大小位置sheet - 块所在的sheetpublic void addPropertyListener(PropertyChangeListener l)
addPropertyListener 在接口中 OBl - 监听器public void firePropertyChange()
firePropertyChange 在接口中 OBpublic int[] getVerticalLine()
TemplateBlockgetVerticalLine 在接口中 TemplateBlockpublic int[] getHorizontalLine()
TemplateBlockgetHorizontalLine 在接口中 TemplateBlock