Package com.google.gwt.user.client.ui
Class ListenerWrapper.WrappedScrollListener
java.lang.Object
com.google.gwt.user.client.BaseListenerWrapper<T>
com.google.gwt.user.client.ui.ListenerWrapper<ScrollListener>
com.google.gwt.user.client.ui.ListenerWrapper.WrappedScrollListener
- All Implemented Interfaces:
ScrollHandler
,EventHandler
- Enclosing class:
- ListenerWrapper<T>
public static class ListenerWrapper.WrappedScrollListener
extends ListenerWrapper<ScrollListener>
implements ScrollHandler
Wrapper for a
ScrollListener
.-
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 TypeMethodDescriptionadd
(HasScrollHandlers source, ScrollListener listener) Deprecated.will be removed in GWT 2.0 along with the listener classesvoid
onScroll
(ScrollEvent event) Called when ScrollEvent is fired.static void
remove
(Widget eventSource, ScrollListener 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 ListenerWrapper.WrappedScrollListener add(HasScrollHandlers source, ScrollListener listener) Deprecated.will be removed in GWT 2.0 along with the listener classesAdds the wrapped listener.- 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
-
onScroll
Description copied from interface:ScrollHandler
Called when ScrollEvent is fired.- Specified by:
onScroll
in interfaceScrollHandler
- Parameters:
event
- theScrollEvent
that was fired
-