com.extentech.ExtenXLS.binder
Class BeanBoundCellRange
java.lang.Object
com.extentech.ExtenXLS.CellRange
com.extentech.ExtenXLS.binder.DataBoundCellRange
com.extentech.ExtenXLS.binder.BeanBoundCellRange
- All Implemented Interfaces:
- Serializable
public class BeanBoundCellRange
- extends DataBoundCellRange
Binds a Cell range to a List of Bean values.
- Since:
- 3.0
- Version:
- 3.0
- Author:
- John McMahon -- Copyright ©2011Extentech Inc.
- See Also:
ExtenDataObject,
CellHandle,
Serialized Form
|
Method Summary |
void |
updateCells(Object dob,
int off)
update the databound cells with new data |
void |
updateCells(Object dob,
int off,
boolean overwriteMismatch)
update the databound cells with new data. |
| Methods inherited from class com.extentech.ExtenXLS.binder.DataBoundCellRange |
getAddedRows, getChartSeriesAddition, getChartSeriesBase, getHlink, getQueryName, getRESTEmit, handleHlinkParams, setAddedRows, setChartSeriesAddition, setChartSeriesBase, setCopyFormats, setDebug, setHlink, setHlinkParameters, setPageSize, setQueryName, setShiftRows |
| Methods inherited from class com.extentech.ExtenXLS.CellRange |
addCellToRange, clear, clearContents, clearFormats, contains, contains, copy, getCellList, getCellRangeXML, getCellRecs, getCells, getCells, getColInts, getCols, getCreateBlanks, getEdgePositions, getHeight, getJSON, getJSON, getR1C1Range, getRange, getRangeCoords, getRowInts, getRows, getSheet, getWidth, getWorkBook, getXML, init, initCells, intersects, isMerged, mergeCells, removeCells, setAsPrintArea, setBorder, setCreateBlanks, setFormatID, setRange, setSheet, setURL, setWorkBook, toString, unMergeCells, update |
BeanBoundCellRange
public BeanBoundCellRange(String range,
WorkBook b,
boolean createblanks)
throws com.extentech.formats.XLS.CellNotFoundException
- Throws:
com.extentech.formats.XLS.CellNotFoundException
updateCells
public void updateCells(Object dob,
int off)
throws Exception
- update the databound cells with new data
- Overrides:
updateCells in class DataBoundCellRange
- Throws:
Exception
updateCells
public void updateCells(Object dob,
int off,
boolean overwriteMismatch)
throws Exception
- update the databound cells with new data.
Overwrite mismatch will allow cell types like bound formulas
to be overwritten with values
- Overrides:
updateCells in class DataBoundCellRange
- Throws:
Exception
Copyright © 2011 Extentech Inc. All Rights Reserved.