|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
object 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.
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 |
---|
void scrollChanged(Manager manager, int newHorizontalScroll, int newVerticalScroll)
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 manager.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal