com.smartgwt.client.widgets.grid.events
Interface HasBodyKeyPressHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
CubeGrid, ListGrid, Menu, TableView, TreeGrid

public interface HasBodyKeyPressHandlers
extends HasHandlers


Method Summary
 HandlerRegistration addBodyKeyPressHandler(BodyKeyPressHandler handler)
          Handle a keyPress event on the body.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addBodyKeyPressHandler

HandlerRegistration addBodyKeyPressHandler(BodyKeyPressHandler handler)
Handle a keyPress event on the body.

Default implementation handles navigating between records with arrow keys, and activating records with space and enter.

Parameters:
handler - the bodyKeyPress handler
Returns:
HandlerRegistration used to remove this handler