Package com.google.gwt.user.client.ui
Class ListenerWrapper.WrappedMouseListener
java.lang.Object
com.google.gwt.user.client.BaseListenerWrapper<MouseListener>
com.google.gwt.user.client.ui.ListenerWrapper<MouseListener>
com.google.gwt.user.client.ui.ListenerWrapper.WrappedMouseListener
- All Implemented Interfaces:
MouseDownHandler
,MouseMoveHandler
,MouseOutHandler
,MouseOverHandler
,MouseUpHandler
,EventHandler
- Enclosing class:
ListenerWrapper<T>
public static class ListenerWrapper.WrappedMouseListener
extends ListenerWrapper<MouseListener>
implements MouseDownHandler, MouseUpHandler, MouseOutHandler, MouseOverHandler, MouseMoveHandler
Wrapper for a
MouseListener
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.ListenerWrapper
ListenerWrapper.WrappedChangeListener, ListenerWrapper.WrappedClickListener, ListenerWrapper.WrappedFocusListener, ListenerWrapper.WrappedKeyboardListener, ListenerWrapper.WrappedLoadListener, ListenerWrapper.WrappedLogicalChangeListener<V>, ListenerWrapper.WrappedMouseListener, ListenerWrapper.WrappedMouseWheelListener, ListenerWrapper.WrappedOldDisclosureHandler, ListenerWrapper.WrappedOldFormHandler, ListenerWrapper.WrappedOldSuggestionHandler, ListenerWrapper.WrappedPopupListener, ListenerWrapper.WrappedScrollListener, ListenerWrapper.WrappedTableListener, ListenerWrapper.WrappedTabListener, ListenerWrapper.WrappedTreeListener
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends HasMouseDownHandlers & HasMouseUpHandlers & HasMouseOutHandlers & HasMouseOverHandlers & HasMouseMoveHandlers>
ListenerWrapper.WrappedMouseListeneradd
(E source, MouseListener listener) Deprecated.will be removed in GWT 2.0 along with the listener classesvoid
onMouseDown
(MouseDownEvent event) Called when MouseDown is fired.void
onMouseMove
(MouseMoveEvent event) Called when MouseMoveEvent is fired.void
onMouseOut
(MouseOutEvent event) Called when MouseOutEvent is fired.void
onMouseOver
(MouseOverEvent event) Called when MouseOverEvent is fired.void
onMouseUp
(MouseUpEvent event) Called when MouseUpEvent is fired.static void
remove
(Widget eventSource, MouseListener listener) Deprecated.will be removed in GWT 2.0 along with the listener classesMethods inherited from class com.google.gwt.user.client.ui.ListenerWrapper
baseRemove, getSource, setSource
Methods inherited from class com.google.gwt.user.client.BaseListenerWrapper
baseRemove, getListener
-
Method Details
-
add
@Deprecated public static <E extends HasMouseDownHandlers & HasMouseUpHandlers & HasMouseOutHandlers & HasMouseOverHandlers & HasMouseMoveHandlers> ListenerWrapper.WrappedMouseListener add(E source, MouseListener listener) Deprecated.will be removed in GWT 2.0 along with the listener classesAdds the wrapped listener.- Type Parameters:
E
- source of the handlers- Parameters:
source
- the event sourcelistener
- the listener- Returns:
- the wrapped listener
-
remove
Deprecated.will be removed in GWT 2.0 along with the listener classesRemoves the wrapped listener.- Parameters:
eventSource
- the event source from which to remove the wrapped listenerlistener
- the listener to remove
-
onMouseDown
Description copied from interface:MouseDownHandler
Called when MouseDown is fired.- Specified by:
onMouseDown
in interfaceMouseDownHandler
- Parameters:
event
- theMouseDownEvent
that was fired
-
onMouseMove
Description copied from interface:MouseMoveHandler
Called when MouseMoveEvent is fired.- Specified by:
onMouseMove
in interfaceMouseMoveHandler
- Parameters:
event
- theMouseMoveEvent
that was fired
-
onMouseOut
Description copied from interface:MouseOutHandler
Called when MouseOutEvent is fired.- Specified by:
onMouseOut
in interfaceMouseOutHandler
- Parameters:
event
- theMouseOutEvent
that was fired
-
onMouseOver
Description copied from interface:MouseOverHandler
Called when MouseOverEvent is fired.- Specified by:
onMouseOver
in interfaceMouseOverHandler
- Parameters:
event
- theMouseOverEvent
that was fired
-
onMouseUp
Description copied from interface:MouseUpHandler
Called when MouseUpEvent is fired.- Specified by:
onMouseUp
in interfaceMouseUpHandler
- Parameters:
event
- theMouseUpEvent
that was fired
-