|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IViewportListener
Registered with a text viewer, view port listeners are informed about changes of a text viewer's view port. The view port is that portion of the viewer's document which is visible in the viewer.
Note: This listener will not be notified when the viewer is resized.
Clients may implement this interface.
ITextViewer.addViewportListener(IViewportListener)
Method Summary | |
---|---|
void |
viewportChanged(int verticalOffset)
Informs that the view port changed. |
Method Detail |
---|
void viewportChanged(int verticalOffset)
Note: This event will not be sent when the viewer is resized.
verticalOffset
- the vertical offset measured in pixels
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.