yu.ac.bg.etf.javaqx.qswing.events
Class MouseAdapter

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.events.MouseAdapter
All Implemented Interfaces:
java.util.EventListener, MouseListener

public abstract class MouseAdapter
extends java.lang.Object
implements MouseListener

Abstract Mouse Adapter.

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)

Constructor Summary
MouseAdapter()
           
 
Method Summary
 void mouseClicked(MouseEvent e)
          Notifies listener that a mouse button has been clicked (pressed and released).
 void mouseEntered(MouseEvent e)
          Notifies listener that the mouse enters a component.
 void mouseExited(MouseEvent e)
          Notifies listener that the mouse exits a component.
 void mousePressed(MouseEvent e)
          Notifies listener that a mouse button has been pressed.
 void mouseReleased(MouseEvent e)
          Notifies listener that a mouse button has been released.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MouseAdapter

public MouseAdapter()
Method Detail

mousePressed

public void mousePressed(MouseEvent e)
Notifies listener that a mouse button has been pressed.

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

mouseReleased

public void mouseReleased(MouseEvent e)
Notifies listener that a mouse button has been released.

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

mouseClicked

public void mouseClicked(MouseEvent e)
Notifies listener that a mouse button has been clicked (pressed and released).

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

mouseEntered

public void mouseEntered(MouseEvent e)
Notifies listener that the mouse enters a component.

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

mouseExited

public void mouseExited(MouseEvent e)
Notifies listener that the mouse exits a component.

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


Copyright © 2007 ETF and contributors. All Rights Reserved.