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.swt.events
Interface ControlListener

All Superinterfaces:
EventListener, org.eclipse.swt.internal.SWTEventListener
All Known Implementing Classes:
AnnotationBarHoverManager.Closer, ControlAdapter

public interface ControlListener
extends org.eclipse.swt.internal.SWTEventListener

Classes which implement this interface provide methods that deal with the events that are generated by moving and resizing controls.

After creating an instance of a class that implements this interface it can be added to a control using the addControlListener method and removed using the removeControlListener method. When a control is moved or resized, the appropriate method will be invoked.

See Also:
ControlAdapter, ControlEvent

Method Summary
 void controlMoved ( ControlEvent e)
          Sent when the location (x, y) of a control changes relative to its parent (or relative to the display, for Shells).
 void controlResized ( ControlEvent e)
          Sent when the size (width, height) of a control changes.
 

Method Detail

controlMoved

void controlMoved(
ControlEvent e)
Sent when the location (x, y) of a control changes relative to its parent (or relative to the display, for Shells).

Parameters:
e - an event containing information about the move

controlResized

void controlResized(
ControlEvent e)
Sent when the size (width, height) of a control changes.

Parameters:
e - an event containing information about the resize

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