Package com.google.gwt.event.dom.client
Interface HasKeyPressHandlers
- All Superinterfaces:
HasHandlers
- All Known Subinterfaces:
HasAllKeyHandlers
,TabBar.Tab
- All Known Implementing Classes:
Anchor
,Audio
,Button
,ButtonBase
,Canvas
,CheckBox
,CustomButton
,DoubleBox
,FileUpload
,FocusPanel
,FocusWidget
,IntegerBox
,ListBox
,LongBox
,MediaBase
,PasswordTextBox
,PushButton
,RadioButton
,ResetButton
,RichTextArea
,SimpleCheckBox
,SimpleRadioButton
,SubmitButton
,SuggestBox
,TextArea
,TextBox
,TextBoxBase
,ToggleButton
,Tree
,ValueBox
,ValueBoxBase
,Video
A widget that implements this interface provides registration for
KeyPressHandler
instances.-
Method Summary
Modifier and TypeMethodDescriptionaddKeyPressHandler
(KeyPressHandler handler) Adds aKeyPressEvent
handler.Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
-
Method Details
-
addKeyPressHandler
Adds aKeyPressEvent
handler.- Parameters:
handler
- the key press handler- Returns:
HandlerRegistration
used to remove this handler
-