|
||||||||||
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 definitionpublic CellDataCallback(java.lang.Integer rowIndex, RowDataColumnDefinition def, ICellDataCallback callback)
rowIndex
- the row index of table modeldef
- column definitioncallback
- callbackMethod Detail |
---|
public void onSuccess()
onSuccess
in interface IRowDataCallback
public void onSuccess(boolean handled)
onSuccess
in interface ICellDataCallback
handled
- the error has already been handled in the callbackpublic void onFailure()
onFailure
in interface IRowDataCallback
public void onFailure(boolean handled)
onFailure
in interface ICellDataCallback
handled
- the error has already been handled in the callbackpublic java.lang.Integer getRowIndex()
getRowIndex
in interface IRowDataCallback
public RowDataColumnDefinition getColumnDefinition()
getColumnDefinition
in interface IRowDataCallback
public ICellDataCallback getCallback()
getCallback
in interface IRowDataCallback
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |