Eclipse Platform
Release 3.0

org.eclipse.jface.text
Interface IViewportListener


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.

Clients may implement this interface.

See Also:
ITextViewer

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

Method Detail

viewportChanged

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

Parameters:
verticalOffset - the vertical offset measured in pixels

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.