Package com.google.gwt.user.client.ui
Interface SourcesFocusEvents
- All Known Subinterfaces:
 HasFocus
- 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
Deprecated.
A widget that implements this interface sources the events defined by the
 
FocusListener interface.- 
Method Summary
Modifier and TypeMethodDescriptionvoidaddFocusListener(FocusListener listener) Deprecated.use addFocusHandler and addBlurHandler instead.voidremoveFocusListener(FocusListener listener) Deprecated.Use theHandlerRegistration.removeHandler()method on the object returned byHasFocusHandlers.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)instead 
- 
Method Details
- 
addFocusListener
Deprecated.use addFocusHandler and addBlurHandler instead.Adds a listener interface to receive focus events.- Parameters:
 listener- the listener interface to add
 - 
removeFocusListener
Deprecated.Use theHandlerRegistration.removeHandler()method on the object returned byHasFocusHandlers.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)insteadRemoves a previously added listener interface.- Parameters:
 listener- the listener interface to remove
 
 - 
 
HasAllFocusHandlersinstead