com.extentech.ExtenXLS.binder
Interface BoundCell

All Known Implementing Classes:
BeanBoundCell, DataBoundCell

public interface BoundCell

This class represents a single WorkBook Cell which has been bound to an Object.

Since:
Version:
Author:
John McMahon -- Copyright ©2011Extentech Inc.
See Also:

Method Summary
 void bindObject(Object dobj, String col)
          bind a Object field in the first row of data for the Object to this CellHandle.
 void bindObject(Object dobj, String col, int row)
          bind a Object field to this CellHandle field.
 void setCell(CellHandle c)
           
 boolean updateCell()
          refresh the CellHandle values from the underlying Object value bound to this CellHandle.
 boolean updateCell(boolean overwriteMismatch)
          refresh the CellHandle values from the underlying Object value bound to this CellHandle.
 void updateFromCell()
          refresh the Object value from the value of this CellHandle.
 

Method Detail

setCell

void setCell(CellHandle c)

updateCell

boolean updateCell()
refresh the CellHandle values from the underlying Object value bound to this CellHandle.


updateCell

boolean updateCell(boolean overwriteMismatch)
refresh the CellHandle values from the underlying Object value bound to this CellHandle.

Parameters:
overwriteMismatch - - override cell type mismatch exceptions by deleting and re-creating the cell;

updateFromCell

void updateFromCell()
refresh the Object value from the value of this CellHandle.


bindObject

void bindObject(Object dobj,
                String col)
bind a Object field in the first row of data for the Object to this CellHandle.


bindObject

void bindObject(Object dobj,
                String col,
                int row)
bind a Object field to this CellHandle field.



Copyright © 2011 Extentech Inc. All Rights Reserved.