com.threerings.opengl.gui.event
Class MouseAdapter

java.lang.Object
  extended by com.threerings.opengl.gui.event.MouseAdapter
All Implemented Interfaces:
ComponentListener, MouseListener, MouseMotionListener
Direct Known Subclasses:
PseudoKeys.Unifier

public class MouseAdapter
extends Object
implements MouseListener, MouseMotionListener

A convenience class for partially implementing the MouseListener interface.


Constructor Summary
MouseAdapter()
           
 
Method Summary
 void mouseClicked(MouseEvent event)
          Dispatched when a button is clicked within the bounds of the target component.
 void mouseDragged(MouseEvent event)
          Dispatched when the mouse is moved after a button having been pressed within the bounds of the target component.
 void mouseEntered(MouseEvent event)
          Dispatched when the mouse enters the bounds of the target component.
 void mouseExited(MouseEvent event)
          Dispatched when the mouse exits the bounds of the target component.
 void mouseMoved(MouseEvent event)
          Dispatched when the mouse is moved within the bounds of the target component.
 void mousePressed(MouseEvent event)
          Dispatched when a button is pressed within the bounds of the target component.
 void mouseReleased(MouseEvent event)
          Dispatched when a button is released after having been pressed within the bounds of the target component.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MouseAdapter

public MouseAdapter()
Method Detail

mousePressed

public void mousePressed(MouseEvent event)
Description copied from interface: MouseListener
Dispatched when a button is pressed within the bounds of the target component.

Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent event)
Description copied from interface: MouseListener
Dispatched when a button is released after having been pressed within the bounds of the target component.

Specified by:
mouseReleased in interface MouseListener

mouseClicked

public void mouseClicked(MouseEvent event)
Description copied from interface: MouseListener
Dispatched when a button is clicked within the bounds of the target component.

Specified by:
mouseClicked in interface MouseListener

mouseEntered

public void mouseEntered(MouseEvent event)
Description copied from interface: MouseListener
Dispatched when the mouse enters the bounds of the target component.

Specified by:
mouseEntered in interface MouseListener

mouseExited

public void mouseExited(MouseEvent event)
Description copied from interface: MouseListener
Dispatched when the mouse exits the bounds of the target component.

Specified by:
mouseExited in interface MouseListener

mouseMoved

public void mouseMoved(MouseEvent event)
Description copied from interface: MouseMotionListener
Dispatched when the mouse is moved within the bounds of the target component.

Specified by:
mouseMoved in interface MouseMotionListener

mouseDragged

public void mouseDragged(MouseEvent event)
Description copied from interface: MouseMotionListener
Dispatched when the mouse is moved after a button having been pressed within the bounds of the target component.

Specified by:
mouseDragged in interface MouseMotionListener


Copyright © 2011. All Rights Reserved.