Package com.google.gwt.user.client.ui
Interface SourcesChangeEvents
- All Known Implementing Classes:
ListBox
,PasswordTextBox
,SuggestBox
,TextArea
,TextBox
,TextBoxBase
Deprecated.
A widget that implements this interface sources the events defined by the
ChangeListener
interface.-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChangeListener
(ChangeListener listener) Deprecated.use addChangeHandler or addValueChangeHandler insteadvoid
removeChangeListener
(ChangeListener listener) Deprecated.Use theHandlerRegistration.removeHandler()
method on the object returned byHasChangeHandlers.addChangeHandler(com.google.gwt.event.dom.client.ChangeHandler)
instead
-
Method Details
-
addChangeListener
Deprecated.use addChangeHandler or addValueChangeHandler insteadAdds a listener interface to receive change events.- Parameters:
listener
- the listener interface to add
-
removeChangeListener
Deprecated.Use theHandlerRegistration.removeHandler()
method on the object returned byHasChangeHandlers.addChangeHandler(com.google.gwt.event.dom.client.ChangeHandler)
insteadRemoves a previously added listener interface.- Parameters:
listener
- the listener interface to remove
-
HasChangeHandlers
if the change listener was triggered by a dom change event orHasValueChangeHandlers
if it was based on a logical event