|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.extentech.ExtenXLS.binder.DataBoundCell
public final class DataBoundCell
The DataBoundCell class extends the CellHandle class with data binding functionality
using the ExtenDataObject persistent data bean classes.
ExtenDataObject,
CellHandle,
XLSRecord,
ExtenDataObject| Constructor Summary | |
|---|---|
DataBoundCell()
Default Constructor. |
|
DataBoundCell(CellHandle c,
DataObject d,
String fieldname)
Create a DataBoundCell passing in the CellHandle that it represents, the DataObject to which it is bound, and the field/index in the DataObject containing its values. |
|
DataBoundCell(CellHandle c,
DataObject d,
String fieldname,
int i)
Create a DataBoundCell passing in the CellHandle that it represents, the DataObject to which it is bound, and the field/index in the DataObject containing its values. |
|
| Method Summary | |
|---|---|
void |
bindObject(Object dobj,
String col)
bind a DataObject field in the first row of data for the DataObject to this CellHandle. |
void |
bindObject(Object dobj,
String col,
int row)
bind a DataObject field to this CellHandle field. |
void |
setCell(CellHandle c)
|
String |
toString()
|
boolean |
updateCell()
refresh the CellHandle values from the underlying DataObject value bound to this CellHandle. |
boolean |
updateCell(boolean overrideMismatch)
refresh the CellHandle values from the underlying DataObject value bound to this CellHandle. |
void |
updateFromCell()
refresh the DataObject 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 DataBoundCell()
public DataBoundCell(CellHandle c,
DataObject d,
String fieldname)
public DataBoundCell(CellHandle c,
DataObject 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 overrideMismatch)
updateCell in interface BoundCelloverrideMismatch - - 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 | |||||||||