protected class AnnotationBarHoverManager.Closer extends MouseTrackAdapter implements AbstractInformationControlManager.IInformationControlCloser, MouseListener, MouseMoveListener, ControlListener, KeyListener, DisposeListener, ShellListener, Listener
Constructor and Description |
---|
Closer()
Deprecated.
Creates a new information control closer.
|
Modifier and Type | Method and Description |
---|---|
void |
controlMoved(ControlEvent event)
Deprecated.
Sent when the location (x, y) of a control changes relative
to its parent (or relative to the display, for
Shell s). |
void |
controlResized(ControlEvent event)
Deprecated.
Sent when the size (width, height) of a control changes.
|
void |
handleEvent(Event event)
Deprecated.
Sent when an event that the receiver has registered for occurs.
|
void |
keyPressed(KeyEvent event)
Deprecated.
Sent when a key is pressed on the system keyboard.
|
void |
keyReleased(KeyEvent event)
Deprecated.
Sent when a key is released on the system keyboard.
|
void |
mouseDoubleClick(MouseEvent event)
Deprecated.
Sent when a mouse button is pressed twice within the
(operating system specified) double click period.
|
void |
mouseDown(MouseEvent event)
Deprecated.
Sent when a mouse button is pressed.
|
void |
mouseExit(MouseEvent event)
Deprecated.
Sent when the mouse pointer passes out of the area of
the screen covered by a control.
|
void |
mouseMove(MouseEvent event)
Deprecated.
Sent when the mouse moves.
|
void |
mouseUp(MouseEvent event)
Deprecated.
Sent when a mouse button is released.
|
void |
setInformationControl(IInformationControl control)
Deprecated.
Sets the closer's information control, the one to close if necessary.
|
void |
setSubjectControl(Control control)
Deprecated.
Sets the closer's subject control.
|
void |
shellActivated(ShellEvent e)
Deprecated.
Sent when a shell becomes the active window.
|
void |
shellClosed(ShellEvent e)
Deprecated.
Sent when a shell is closed.
|
void |
shellDeactivated(ShellEvent e)
Deprecated.
Sent when a shell stops being the active window.
|
void |
shellDeiconified(ShellEvent e)
Deprecated.
Sent when a shell is un-minimized.
|
void |
shellIconified(ShellEvent e)
Deprecated.
Sent when a shell is minimized.
|
void |
start(Rectangle subjectArea)
Deprecated.
Tells this closer to start monitoring the subject and the information
control.
|
void |
stop()
Deprecated.
Tells this closer to stop monitoring the subject and the information control.
|
protected void |
stop(boolean delayRestart)
Deprecated.
As of 3.4, replaced by
stop() . Note that delayRestart was never honored. |
void |
widgetDisposed(DisposeEvent e)
Deprecated.
Sent when the widget is disposed.
|
mouseEnter, mouseHover
public void setSubjectControl(Control control)
AbstractInformationControlManager.IInformationControlCloser
Must be called before start
. May again be called
between start
and stop
.
setSubjectControl
in interface AbstractInformationControlManager.IInformationControlCloser
control
- the subject controlpublic void setInformationControl(IInformationControl control)
AbstractInformationControlManager.IInformationControlCloser
Must be called before start
. May again be called
between start
and stop
.
setInformationControl
in interface AbstractInformationControlManager.IInformationControlCloser
control
- the information controlpublic void start(Rectangle subjectArea)
AbstractInformationControlManager.IInformationControlCloser
start
in interface AbstractInformationControlManager.IInformationControlCloser
subjectArea
- the area for which the presented information is validpublic void stop()
AbstractInformationControlManager.IInformationControlCloser
stop
in interface AbstractInformationControlManager.IInformationControlCloser
protected void stop(boolean delayRestart)
stop()
. Note that delayRestart
was never honored.delayRestart
is set allows restart only after a certain delay.delayRestart
- true
if restart should be delayedpublic void mouseMove(MouseEvent event)
MouseMoveListener
mouseMove
in interface MouseMoveListener
event
- an event containing information about the mouse movepublic void mouseUp(MouseEvent event)
MouseListener
mouseUp
in interface MouseListener
event
- an event containing information about the mouse button releasepublic void mouseDown(MouseEvent event)
MouseListener
mouseDown
in interface MouseListener
event
- an event containing information about the mouse button presspublic void mouseDoubleClick(MouseEvent event)
MouseListener
mouseDoubleClick
in interface MouseListener
event
- an event containing information about the mouse double clickDisplay.getDoubleClickTime()
public void handleEvent(Event event)
Listener
handleEvent
in interface Listener
event
- the event which occurredpublic void mouseExit(MouseEvent event)
MouseTrackAdapter
mouseExit
in interface MouseTrackListener
mouseExit
in class MouseTrackAdapter
event
- an event containing information about the mouse exitpublic void controlResized(ControlEvent event)
ControlListener
controlResized
in interface ControlListener
event
- an event containing information about the resizepublic void controlMoved(ControlEvent event)
ControlListener
Shell
s).controlMoved
in interface ControlListener
event
- an event containing information about the movepublic void keyReleased(KeyEvent event)
KeyListener
keyReleased
in interface KeyListener
event
- an event containing information about the key releasepublic void keyPressed(KeyEvent event)
KeyListener
keyPressed
in interface KeyListener
event
- an event containing information about the key presspublic void shellActivated(ShellEvent e)
ShellListener
shellActivated
in interface ShellListener
e
- an event containing information about the activationpublic void shellClosed(ShellEvent e)
ShellListener
shellClosed
in interface ShellListener
e
- an event containing information about the closepublic void shellDeactivated(ShellEvent e)
ShellListener
shellDeactivated
in interface ShellListener
e
- an event containing information about the deactivationpublic void shellDeiconified(ShellEvent e)
ShellListener
shellDeiconified
in interface ShellListener
e
- an event containing information about the un-minimizationpublic void shellIconified(ShellEvent e)
ShellListener
shellIconified
in interface ShellListener
e
- an event containing information about the minimizationpublic void widgetDisposed(DisposeEvent e)
DisposeListener
widgetDisposed
in interface DisposeListener
e
- an event containing information about the dispose
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.