com.smartgwt.client.widgets.events

## Interface KeyDownHandler

- All Superinterfaces:
    EventHandler

      public interface KeyDownHandler
      extends EventHandler

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onKeyDown(KeyDownEvent event)` Executed when a key is pressed on a focusable widget (`canFocus`: true).

- - ### Method Detail

    - #### onKeyDown

          void onKeyDown(KeyDownEvent event)

      Executed when a key is pressed on a focusable widget (`canFocus`: true).

      Use `EventHandler.getKey()` to find out the String of the key that was pressed, and use `EventHandler.shiftKeyDown()` and related functions to determine whether modifier keys were down.

      Parameters:
        `event` - the event