|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
C - Placeholder for the library dependent component type.public interface ICellEditorHandler<C>
The ICellEditorHandler holds the physical editor component,
handles correct all events, and stores or restores the values.
| Method Summary | |
|---|---|
void |
cancelEditing()
Informs the GUI control, that the last edit should be canceled(restored) the correct value is in the DataBook. |
ICellEditor |
getCellEditor()
Returns the ICellEditor that created this handler. |
C |
getCellEditorComponent()
Returns the library dependent CellEditorComponent. |
ICellEditorListener |
getCellEditorListener()
Returns the CellEditorListener. |
java.lang.String |
getColumnName()
Returns the column name that is edited in the IDataRow. |
IDataRow |
getDataRow()
Returns the IDataRow that is edited. |
void |
saveEditing()
Saves the changes made from the CellEditorComponent DataBook. |
void |
uninstallEditor()
Informs the handler, that the editor is or will be discarded. |
| Method Detail |
|---|
void uninstallEditor()
ICellEditor getCellEditor()
ICellEditor that created this handler.
ICellEditor that created this handler.ICellEditorListener getCellEditorListener()
CellEditorListener.
CellEditorListener.IDataRow getDataRow()
IDataRow that is edited.
IDataRow that is edited.java.lang.String getColumnName()
IDataRow.
IDataRow.C getCellEditorComponent()
CellEditorComponent.
CellEditorComponent.
void saveEditing()
throws ModelException
DataBook.
ModelException - if the value can not be stored.
void cancelEditing()
throws ModelException
DataBook.
ModelException - if the value can not be restored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||