|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataGenerator
Interface for Grid.AbstractGridExtensions that allows adding data to row
objects being sent to client by the RpcDataProviderExtension.
This class also provides a way to remove any unneeded data once the data object is no longer used on the client-side.
| Method Summary | |
|---|---|
void |
destroyData(java.lang.Object itemId)
Informs the DataGenerator that an item id has been dropped and is no longer needed. |
void |
generateData(java.lang.Object itemId,
Item item,
elemental.json.JsonObject rowData)
Adds data to row object for given item and item id being sent to client. |
| Method Detail |
|---|
void generateData(java.lang.Object itemId,
Item item,
elemental.json.JsonObject rowData)
itemId - item id of itemitem - item being sent to clientrowData - row object being sent to clientvoid destroyData(java.lang.Object itemId)
itemId - removed item id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||