|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.extentech.ExtenXLS.binder.BeanBoundCell
public final class BeanBoundCell
The BeanBoundCell class extends the CellHandle class with data binding functionality
using the value Object.
ExtenDataObject,
CellHandle,
XLSRecord,
ExtenDataObject| Constructor Summary | |
|---|---|
BeanBoundCell()
Default Constructor. |
|
BeanBoundCell(CellHandle c,
Object d,
String fieldname)
Create a BeanBoundCell passing in the CellHandle that it represents, the Object to which it is bound, and the field/index in the Object containing its values. |
|
BeanBoundCell(CellHandle c,
Object d,
String fieldname,
int i)
Create a BeanBoundCell passing in the CellHandle that it represents, the Object to which it is bound, and the field/index in the Object containing its values. |
|
| 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)
|
String |
toString()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BeanBoundCell()
public BeanBoundCell(CellHandle c,
Object d,
String fieldname)
public BeanBoundCell(CellHandle c,
Object d,
String fieldname,
int i)
| Method Detail |
|---|
public void setCell(CellHandle c)
setCell in interface BoundCellpublic boolean updateCell()
updateCell in interface BoundCellpublic boolean updateCell(boolean overwriteMismatch)
updateCell in interface BoundCelloverwriteMismatch - - override cell type mismatch exceptions by deleting and
re-creating the cell;public void updateFromCell()
updateFromCell in interface BoundCell
public void bindObject(Object dobj,
String col)
bindObject in interface BoundCellpublic String toString()
toString in class Object
public void bindObject(Object dobj,
String col,
int row)
bindObject in interface BoundCell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||