mascoptLib.gui.views
Class DefaultViewAdapter

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended bymascoptLib.gui.views.DefaultViewAdapter
All Implemented Interfaces:
EventListener, MouseListener, MouseMotionListener, MouseWheelListener

public class DefaultViewAdapter
extends MouseAdapter
implements MouseMotionListener, MouseWheelListener

A listener for the mouse.


Constructor Summary
DefaultViewAdapter()
           
 
Method Summary
 void mouseClicked(MouseEvent e)
          Event when the mouse is clicked.
 void mouseDragged(MouseEvent e)
          When the mouse is dragged.
 void mouseEntered(MouseEvent e)
          Mouse entered.
 void mouseExited(MouseEvent e)
          Mouse exited.
 void mouseMoved(MouseEvent e)
          When the mouse is moved.
 void mousePressed(MouseEvent e)
          Event when the mouse is pressed.
 void mouseReleased(MouseEvent e)
          Event when the mouse is released.
 void mouseWheelMoved(MouseWheelEvent e)
          When the wheel is moved.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultViewAdapter

public DefaultViewAdapter()
Method Detail

mouseClicked

public void mouseClicked(MouseEvent e)
Event when the mouse is clicked. By default, does nothing.

Specified by:
mouseClicked in interface MouseListener
Parameters:
e - the event.

mousePressed

public void mousePressed(MouseEvent e)
Event when the mouse is pressed.

Specified by:
mousePressed in interface MouseListener
Parameters:
e - the event.

mouseReleased

public void mouseReleased(MouseEvent e)
Event when the mouse is released.

Specified by:
mouseReleased in interface MouseListener
Parameters:
e - the event.

mouseEntered

public void mouseEntered(MouseEvent e)
Mouse entered. Does nothing.

Specified by:
mouseEntered in interface MouseListener
Parameters:
e - the event.

mouseExited

public void mouseExited(MouseEvent e)
Mouse exited. Does nothing.

Specified by:
mouseExited in interface MouseListener
Parameters:
e - the event.

mouseDragged

public void mouseDragged(MouseEvent e)
When the mouse is dragged.

Specified by:
mouseDragged in interface MouseMotionListener
Parameters:
e - the event.

mouseMoved

public void mouseMoved(MouseEvent e)
When the mouse is moved. Does nothing.

Specified by:
mouseMoved in interface MouseMotionListener
Parameters:
e - the event.

mouseWheelMoved

public void mouseWheelMoved(MouseWheelEvent e)
When the wheel is moved.

Specified by:
mouseWheelMoved in interface MouseWheelListener
Parameters:
e - the event.