|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ControlListener
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.
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 |
|---|
void controlMoved(ControlEvent e)
Shells).
e - an event containing information about the movevoid controlResized(ControlEvent e)
e - an event containing information about the resize
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.