|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GridServerRpc
Client-to-server RPC interface for the Grid component
| Method Summary | |
|---|---|
void |
columnResized(java.lang.String id,
double pixels)
Informs the server that a column has been resized by the user. |
void |
columnsReordered(java.util.List<java.lang.String> newColumnOrder,
java.util.List<java.lang.String> oldColumnOrder)
Informs the server that the columns of the Grid have been reordered. |
void |
columnVisibilityChanged(java.lang.String id,
boolean hidden,
boolean userOriginated)
Informs the server that a column's visibility has been changed. |
void |
contextClick(int rowIndex,
java.lang.String rowKey,
java.lang.String columnId,
GridConstants.Section section,
MouseEventDetails details)
Informs the server that a context click has happened inside of Grid. |
void |
itemClick(java.lang.String rowKey,
java.lang.String columnId,
MouseEventDetails details)
Informs the server that an item has been clicked in Grid. |
void |
sort(java.lang.String[] columnIds,
SortDirection[] directions,
boolean userOriginated)
|
| Method Detail |
|---|
void sort(java.lang.String[] columnIds,
SortDirection[] directions,
boolean userOriginated)
void itemClick(java.lang.String rowKey,
java.lang.String columnId,
MouseEventDetails details)
rowKey - a key identifying the clicked itemcolumnId - column id identifying the clicked propertydetails - mouse event details
void contextClick(int rowIndex,
java.lang.String rowKey,
java.lang.String columnId,
GridConstants.Section section,
MouseEventDetails details)
rowIndex - index of clicked row in Grid sectionrowKey - a key identifying the clicked itemcolumnId - column id identifying the clicked propertysection - grid section (header, footer, body)details - mouse event details
void columnsReordered(java.util.List<java.lang.String> newColumnOrder,
java.util.List<java.lang.String> oldColumnOrder)
newColumnOrder - a list of column ids in the new orderoldColumnOrder - a list of column ids in order before the change
void columnVisibilityChanged(java.lang.String id,
boolean hidden,
boolean userOriginated)
id - the id of the columnhidden - true if hidden, false if unhiddenuserOriginated - true if triggered by user, false if
by code
void columnResized(java.lang.String id,
double pixels)
id - the id of the columnpixels - the new width of the column in pixels
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||