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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

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

  




 

 


Eclipse Platform
Release 3.5

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.

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

Clients may implement this interface.

See Also:
ITextViewer.addViewportListener(IViewportListener)

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

Method Detail

viewportChanged

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.

Parameters:
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