com.extentech.ExtenXLS.binder
Class BeanBoundCellRange

java.lang.Object
  extended by com.extentech.ExtenXLS.CellRange
      extended by com.extentech.ExtenXLS.binder.DataBoundCellRange
          extended by 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

Field Summary
 
Fields inherited from class com.extentech.ExtenXLS.CellRange
cells, COPY_CONTENTS, COPY_FORMATS, COPY_FORMULAS, DEBUG, REMOVE_MERGED_CELLS, RETAIN_MERGED_CELLS, xmlResponsePost, xmlResponsePre
 
Constructor Summary
BeanBoundCellRange(String range, WorkBook b, boolean createblanks)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanBoundCellRange

public BeanBoundCellRange(String range,
                          WorkBook b,
                          boolean createblanks)
                   throws com.extentech.formats.XLS.CellNotFoundException
Throws:
com.extentech.formats.XLS.CellNotFoundException
Method Detail

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.