Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5

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.

Note: This listener will not be notified when the viewer is resized.

Clients may implement this interface.

See Also:

Method Summary
 void viewportChanged (int verticalOffset)
          Informs that the view port changed.

Method Detail


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

Note: This event will not be sent when the viewer is resized.

verticalOffset - the vertical offset measured in pixels

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire