com.metsci.glimpse.swt.event.mouse
Class MouseWrapperSWT

java.lang.Object
  extended by com.metsci.glimpse.event.mouse.MouseWrapper<org.eclipse.swt.events.MouseEvent>
      extended by com.metsci.glimpse.swt.event.mouse.MouseWrapperSWT
All Implemented Interfaces:
java.util.EventListener, org.eclipse.swt.events.MouseListener, org.eclipse.swt.events.MouseMoveListener, org.eclipse.swt.events.MouseTrackListener, org.eclipse.swt.events.MouseWheelListener, org.eclipse.swt.internal.SWTEventListener

public class MouseWrapperSWT
extends MouseWrapper<org.eclipse.swt.events.MouseEvent>
implements org.eclipse.swt.events.MouseListener, org.eclipse.swt.events.MouseMoveListener, org.eclipse.swt.events.MouseTrackListener, org.eclipse.swt.events.MouseWheelListener


Constructor Summary
MouseWrapperSWT(GlimpseCanvas canvas)
           
 
Method Summary
 void mouseDoubleClick(org.eclipse.swt.events.MouseEvent event)
          Sent when a mouse button is pressed twice within the (operating system specified) double click period.
 void mouseDown(org.eclipse.swt.events.MouseEvent event)
          Sent when a mouse button is pressed.
 void mouseEnter(org.eclipse.swt.events.MouseEvent event)
          Sent when the mouse pointer passes into the area of the screen covered by a control.
 void mouseExit(org.eclipse.swt.events.MouseEvent event)
          Sent when the mouse pointer passes out of the area of the screen covered by a control.
 void mouseHover(org.eclipse.swt.events.MouseEvent e)
          Sent when the mouse pointer hovers (that is, stops moving for an (operating system specified) period of time) over a control.
 void mouseMove(org.eclipse.swt.events.MouseEvent event)
          Sent when the mouse moves.
 void mouseScrolled(org.eclipse.swt.events.MouseEvent event)
          Sent when the mouse wheel is scrolled.
 void mouseUp(org.eclipse.swt.events.MouseEvent event)
          Sent when a mouse button is released.
 
Methods inherited from class com.metsci.glimpse.event.mouse.MouseWrapper
getContainingTargets
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MouseWrapperSWT

public MouseWrapperSWT(GlimpseCanvas canvas)
Method Detail

mouseEnter

public void mouseEnter(org.eclipse.swt.events.MouseEvent event)
Description copied from interface: org.eclipse.swt.events.MouseTrackListener
Sent when the mouse pointer passes into the area of the screen covered by a control.

Specified by:
mouseEnter in interface org.eclipse.swt.events.MouseTrackListener
Parameters:
event - an event containing information about the mouse enter

mouseExit

public void mouseExit(org.eclipse.swt.events.MouseEvent event)
Description copied from interface: org.eclipse.swt.events.MouseTrackListener
Sent when the mouse pointer passes out of the area of the screen covered by a control.

Specified by:
mouseExit in interface org.eclipse.swt.events.MouseTrackListener
Parameters:
event - an event containing information about the mouse exit

mouseHover

public void mouseHover(org.eclipse.swt.events.MouseEvent e)
Description copied from interface: org.eclipse.swt.events.MouseTrackListener
Sent when the mouse pointer hovers (that is, stops moving for an (operating system specified) period of time) over a control.

Specified by:
mouseHover in interface org.eclipse.swt.events.MouseTrackListener
Parameters:
e - an event containing information about the hover

mouseMove

public void mouseMove(org.eclipse.swt.events.MouseEvent event)
Description copied from interface: org.eclipse.swt.events.MouseMoveListener
Sent when the mouse moves.

Specified by:
mouseMove in interface org.eclipse.swt.events.MouseMoveListener
Parameters:
event - an event containing information about the mouse move

mouseScrolled

public void mouseScrolled(org.eclipse.swt.events.MouseEvent event)
Description copied from interface: org.eclipse.swt.events.MouseWheelListener
Sent when the mouse wheel is scrolled.

Specified by:
mouseScrolled in interface org.eclipse.swt.events.MouseWheelListener
Parameters:
event - an event containing information about the mouse wheel action

mouseDoubleClick

public void mouseDoubleClick(org.eclipse.swt.events.MouseEvent event)
Description copied from interface: org.eclipse.swt.events.MouseListener
Sent when a mouse button is pressed twice within the (operating system specified) double click period.

Specified by:
mouseDoubleClick in interface org.eclipse.swt.events.MouseListener
Parameters:
event - an event containing information about the mouse double click
See Also:
Display.getDoubleClickTime()

mouseDown

public void mouseDown(org.eclipse.swt.events.MouseEvent event)
Description copied from interface: org.eclipse.swt.events.MouseListener
Sent when a mouse button is pressed.

Specified by:
mouseDown in interface org.eclipse.swt.events.MouseListener
Parameters:
event - an event containing information about the mouse button press

mouseUp

public void mouseUp(org.eclipse.swt.events.MouseEvent event)
Description copied from interface: org.eclipse.swt.events.MouseListener
Sent when a mouse button is released.

Specified by:
mouseUp in interface org.eclipse.swt.events.MouseListener
Parameters:
event - an event containing information about the mouse button release


Copyright © 2012 Metron, Inc.. All Rights Reserved.