public class DataTableAdapter extends Object implements IDataTableListener
IDataTableListener| Constructor and Description |
|---|
DataTableAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCancel(org.apache.wicket.ajax.AjaxRequestTarget target)
Triggered when an editing is cancelled
|
void |
onClick(org.apache.wicket.ajax.AjaxRequestTarget target,
CommandButton button,
String value)
Triggered when a column button is clicked.
|
void |
onClick(org.apache.wicket.ajax.AjaxRequestTarget target,
ToolbarButton button,
List<String> values)
Triggered when a toolbar button is clicked.
|
void |
onCreate(org.apache.wicket.ajax.AjaxRequestTarget target,
org.json.JSONObject object)
Triggered when datasource 'create' function is raised
|
void |
onDelete(org.apache.wicket.ajax.AjaxRequestTarget target,
org.json.JSONObject object)
Triggered when datasource 'destroy' function is raised
|
void |
onUpdate(org.apache.wicket.ajax.AjaxRequestTarget target,
org.json.JSONObject object)
Triggered when datasource 'update' function is raised
|
public void onClick(org.apache.wicket.ajax.AjaxRequestTarget target,
ToolbarButton button,
List<String> values)
IDataTableListeneronClick in interface IDataTableListenertarget - the AjaxRequestTargetbutton - the button namevalues - the list of retrieved valuespublic void onClick(org.apache.wicket.ajax.AjaxRequestTarget target,
CommandButton button,
String value)
IDataTableListeneronClick in interface IDataTableListenertarget - the AjaxRequestTargetbutton - the button being clickedvalue - value retrieved from the row, according to the property supplied to the CommandButton that fired the eventpublic void onCancel(org.apache.wicket.ajax.AjaxRequestTarget target)
IDataTableListeneronCancel in interface IDataTableListenertarget - the AjaxRequestTargetpublic void onCreate(org.apache.wicket.ajax.AjaxRequestTarget target,
org.json.JSONObject object)
IDataTableListeneronCreate in interface IDataTableListenertarget - the AjaxRequestTargetobject - the JSONObject holding the row datapublic void onUpdate(org.apache.wicket.ajax.AjaxRequestTarget target,
org.json.JSONObject object)
IDataTableListeneronUpdate in interface IDataTableListenertarget - the AjaxRequestTargetobject - the JSONObject holding the row datapublic void onDelete(org.apache.wicket.ajax.AjaxRequestTarget target,
org.json.JSONObject object)
IDataTableListeneronDelete in interface IDataTableListenertarget - the AjaxRequestTargetobject - the JSONObject holding the row dataCopyright © 2017 7thWeb. All rights reserved.