Package com.google.gwt.user.client.ui
Interface SourcesMouseEvents
- All Known Implementing Classes:
Anchor
,Audio
,Button
,ButtonBase
,Canvas
,CheckBox
,CustomButton
,DialogBox.CaptionImpl
,DoubleBox
,FileUpload
,FocusPanel
,FocusWidget
,HTML
,Image
,InlineHTML
,InlineLabel
,IntegerBox
,Label
,ListBox
,LongBox
,MediaBase
,PasswordTextBox
,PushButton
,RadioButton
,ResetButton
,RichTextArea
,SimpleCheckBox
,SimpleRadioButton
,SubmitButton
,TextArea
,TextBox
,TextBoxBase
,ToggleButton
,Tree
,ValueBox
,ValueBoxBase
,Video
Deprecated.
A widget that implements this interface sources the events defined by the
MouseListener
interface.-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMouseListener
(MouseListener listener) Deprecated.use add* methods ofHasAllMouseHandlers
insteadvoid
removeMouseListener
(MouseListener listener) Deprecated.Use theHandlerRegistration.removeHandler()
method on the object returned by an add*Handler method instead
-
Method Details
-
addMouseListener
Deprecated.use add* methods ofHasAllMouseHandlers
insteadAdds a listener interface to receive mouse events.- Parameters:
listener
- the listener interface to add
-
removeMouseListener
Deprecated.Use theHandlerRegistration.removeHandler()
method on the object returned by an add*Handler method insteadRemoves a previously added listener interface.- Parameters:
listener
- the listener interface to remove
-
HasAllMouseHandlers
instead