| com.gwtext.client.widgets.event.DataViewListener
All known Subclasses: com.gwtext.client.widgets.event.DataViewListenerAdapter,
Method Summary | |
boolean | doBeforeClick(DataView source, int index, Element node, EventObject e) Fires before a click is processed. | boolean | doBeforeSelect(DataView source, Element node, Element[] selections) Fires before a selection is made. | void | onClick(DataView source, int index, Element node, EventObject e) Fires when a template node is clicked. | void | onContainerClick(DataView source, EventObject e) Fires when a click occurs and it is not on a template node. | void | onContextMenu(DataView source, int index, Element node, EventObject e) Fires when a template node is right clicked. | void | onDblClick(DataView source, int index, Element node, EventObject e) Fires when a template node is double clicked. | void | onSelectionChange(DataView view, Element[] selections) Fires when the selected nodes change. |
doBeforeClick | boolean doBeforeClick(DataView source, int index, Element node, EventObject e)(Code) | | Fires before a click is processed. Returns false to cancel the default action.
Parameters: source - this Parameters: index - The index of the target node Parameters: node - The target node Parameters: e - The raw event object false to cancel |
doBeforeSelect | boolean doBeforeSelect(DataView source, Element node, Element[] selections)(Code) | | Fires before a selection is made. If any handlers return false, the selection is cancelled.
Parameters: source - this Parameters: node - The node to be selected Parameters: selections - Array of currently selected nodes false to cancel |
onClick | void onClick(DataView source, int index, Element node, EventObject e)(Code) | | Fires when a template node is clicked.
Parameters: source - this Parameters: index - The index of the target node Parameters: node - The target node Parameters: e - The raw event object |
onContainerClick | void onContainerClick(DataView source, EventObject e)(Code) | | Fires when a click occurs and it is not on a template node.
Parameters: source - this Parameters: e - The raw event object |
onContextMenu | void onContextMenu(DataView source, int index, Element node, EventObject e)(Code) | | Fires when a template node is right clicked.
Parameters: source - this Parameters: index - The index of the target node Parameters: node - The target node Parameters: e - The raw event object |
onDblClick | void onDblClick(DataView source, int index, Element node, EventObject e)(Code) | | Fires when a template node is double clicked.
Parameters: source - this Parameters: index - The index of the target node Parameters: node - The target node Parameters: e - The raw event object |
onSelectionChange | void onSelectionChange(DataView view, Element[] selections)(Code) | | Fires when the selected nodes change.
Parameters: view - this Parameters: selections - array of the selected nodes |
|
|