Eclipse Platform
2.0

org.eclipse.jface.text
Interface IViewportListener


public interface IViewportListener

Registered with a text viewer, viewport listeners are informed about changes of a text viewer's viewport. The view port is that portion of the viewer's document which is visible in the viewer.

Clients may implement this interface.

See Also:
ITextViewer

Method Summary
 void viewportChanged(int verticalOffset)
          Informs about viewport changes.
 

Method Detail

viewportChanged

public void viewportChanged(int verticalOffset)
Informs about viewport changes. The given vertical position is the new vertical scrolling offset measured in pixels.


Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.