net.rim.device.api.ui
Interface ScrollChangeListener


public interface ScrollChangeListener

Listener interface for handling scroll events in field managers.

Field managers that want to handle scroll events should implement this interface. Field managers identify the listener ojbect to handle scroll events with their setScrollListener method.

The caller of this method passes in the new horizontal and vertical scroll values, measured in pixels from the absolute top left corner of the manager. This pair of values describes the top left hand corner of the port (currently visible area) over the manager's actual size.

See Also:
Manager.setScrollListener(ScrollChangeListener)

Method Summary
 void scrollChanged(Manager manager, int newHorizontalScroll, int newVerticalScroll)
          Called by a manager when its horizontal and/or vertical scrolling value changes.
 



Method Detail

scrollChanged

void scrollChanged(Manager manager,
                   int newHorizontalScroll,
                   int newVerticalScroll)
Called by a manager when its horizontal and/or vertical scrolling value changes.

Parameters:
manager - The manager whose scroll value changed.
newHorizontalScroll - The new horizontal scroll value, in pixels from the top left corner of the manager.
newVerticalScroll - The new vertical scroll value, in pixels from the top left corner of the mangaer.





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.