Package com.google.gwt.user.client.ui
Interface SourcesClickEvents
- All Known Implementing Classes:
Anchor
,Audio
,Button
,ButtonBase
,Canvas
,CheckBox
,CustomButton
,DialogBox.CaptionImpl
,DoubleBox
,FileUpload
,FocusPanel
,FocusWidget
,HTML
,Hyperlink
,Image
,InlineHTML
,InlineHyperlink
,InlineLabel
,IntegerBox
,Label
,ListBox
,LongBox
,MediaBase
,PasswordTextBox
,PushButton
,RadioButton
,ResetButton
,RichTextArea
,SimpleCheckBox
,SimpleRadioButton
,SubmitButton
,SuggestBox
,TextArea
,TextBox
,TextBoxBase
,ToggleButton
,ValueBox
,ValueBoxBase
,Video
Deprecated.
A widget that implements this interface sources the events defined by the
ClickListener
interface.-
Method Summary
Modifier and TypeMethodDescriptionvoid
addClickListener
(ClickListener listener) Deprecated.useaddClickHandler
insteadvoid
removeClickListener
(ClickListener listener) Deprecated.Use theHandlerRegistration.removeHandler()
method on the object returned byHasClickHandlers.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)
instead
-
Method Details
-
addClickListener
Deprecated.useaddClickHandler
insteadAdds a listener interface to receive click events.- Parameters:
listener
- the listener interface to add
-
removeClickListener
Deprecated.Use theHandlerRegistration.removeHandler()
method on the object returned byHasClickHandlers.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)
insteadRemoves a previously added listener interface.- Parameters:
listener
- the listener interface to remove
-
HasClickHandlers
instead