|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEditor
Platform and technology independent Editor definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
| Method Summary | |
|---|---|
ICellEditor |
getCellEditor()
Gets the CellEditor that edits the given column in the given DataRow. |
ICellFormatter |
getCellFormatter()
Gets the cell formatter. |
String |
getColumnName()
Returns the column name displayed by this control. |
IDataRow |
getDataRow()
Returns the DataRow displayed by this control. |
boolean |
isSavingImmediate()
Tells whether the CellEditor should save immediate. |
void |
setCellEditor(ICellEditor pCellEditor)
Sets the CellEditor that edits the given column in the given DataRow. |
void |
setCellFormatter(ICellFormatter pCellFormatter)
Sets the cell formatter. |
void |
setCellFormatter(Object pCellFormatter,
String pMethodName)
Sets the cell formatter. |
void |
setColumnName(String pColumnName)
Sets the column name displayed by this control. |
void |
setDataRow(IDataRow pDataRow)
Sets the DataRow displayed by this control. |
void |
setSavingImmediate(boolean pSavingImmediate)
Sets whether the CellEditor should save immediate. |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.model.ui.IControl |
|---|
cancelEditing, getTranslation, notifyRepaint, saveEditing, setTranslation |
| Method Detail |
|---|
IDataRow getDataRow()
setDataRow(javax.rad.model.IDataRow)
void setDataRow(IDataRow pDataRow)
throws ModelException
pDataRow - the DataRow
ModelException - if the column name is invalidgetDataRow(),
setColumnName(String)String getColumnName()
setColumnName(java.lang.String)
void setColumnName(String pColumnName)
throws ModelException
pColumnName - the column name.
ModelException - if the column name is invalidgetColumnName()boolean isSavingImmediate()
void setSavingImmediate(boolean pSavingImmediate)
pSavingImmediate - true, if the CellEditor should save immediate.ICellEditor getCellEditor()
setCellEditor(javax.rad.model.ui.ICellEditor)
void setCellEditor(ICellEditor pCellEditor)
throws ModelException
pCellEditor - the CellEditor.
ModelException - if the cell editor can not be setgetCellEditor()ICellFormatter getCellFormatter()
void setCellFormatter(ICellFormatter pCellFormatter)
pCellFormatter - the cell formatter.
void setCellFormatter(Object pCellFormatter,
String pMethodName)
pCellFormatter - the cell formatter.pMethodName - the method name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||