|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sage.swt.client.widget.table.CellDataCallback
public class CellDataCallback
Interface for the callback for row action.
| Constructor Summary | |
|---|---|
CellDataCallback()
Default Constructor |
|
CellDataCallback(java.lang.Integer rowIndex,
RowDataColumnDefinition def)
Constructor |
|
CellDataCallback(java.lang.Integer rowIndex,
RowDataColumnDefinition def,
ICellDataCallback callback)
Constructor |
|
| Method Summary | |
|---|---|
ICellDataCallback |
getCallback()
|
RowDataColumnDefinition |
getColumnDefinition()
Get the column definition |
java.lang.Integer |
getRowIndex()
Get the row index |
void |
onFailure()
Called when the data request has failed. |
void |
onFailure(boolean handled)
Called when the data request has failed. |
void |
onSuccess()
Called when the data request was successful. |
void |
onSuccess(boolean handled)
Called when the data request has succeeded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CellDataCallback()
public CellDataCallback(java.lang.Integer rowIndex,
RowDataColumnDefinition def)
rowIndex - the row index of table modeldef - column definition
public CellDataCallback(java.lang.Integer rowIndex,
RowDataColumnDefinition def,
ICellDataCallback callback)
rowIndex - the row index of table modeldef - column definitioncallback - callback| Method Detail |
|---|
public void onSuccess()
onSuccess in interface IRowDataCallbackpublic void onSuccess(boolean handled)
onSuccess in interface ICellDataCallbackhandled - the error has already been handled in the callbackpublic void onFailure()
onFailure in interface IRowDataCallbackpublic void onFailure(boolean handled)
onFailure in interface ICellDataCallbackhandled - the error has already been handled in the callbackpublic java.lang.Integer getRowIndex()
getRowIndex in interface IRowDataCallbackpublic RowDataColumnDefinition getColumnDefinition()
getColumnDefinition in interface IRowDataCallbackpublic ICellDataCallback getCallback()
getCallback in interface IRowDataCallback
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||