javax.swing.plaf.basic
Class BasicListUI.MouseInputHandler

java.lang.Object
  extended by javax.swing.plaf.basic.BasicListUI.MouseInputHandler
All Implemented Interfaces:
MouseListener, MouseMotionListener, EventListener, MouseInputListener
Enclosing class:
BasicListUI

public class BasicListUI.MouseInputHandler
extends Object
implements MouseInputListener

A helper class which listens for MouseEvents from the JList.


Constructor Summary
BasicListUI.MouseInputHandler()
           
 
Method Summary
 void mouseClicked(MouseEvent event)
          Called when a mouse button press/release cycle completes on the JList
 void mouseDragged(MouseEvent event)
          Called when the mouse pointer moves over the area bounded by the JList while a button is held down.
 void mouseEntered(MouseEvent event)
          Called when the mouse pointer enters the area bounded by the JList
 void mouseExited(MouseEvent event)
          Called when the mouse pointer leaves the area bounded by the JList
 void mouseMoved(MouseEvent event)
          Called when the mouse pointer moves over the area bounded by the JList.
 void mousePressed(MouseEvent event)
          Called when a mouse button is pressed down on the JList.
 void mouseReleased(MouseEvent event)
          Called when a mouse button is released on the JList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicListUI.MouseInputHandler

public BasicListUI.MouseInputHandler()
Method Detail

mouseClicked

public void mouseClicked(MouseEvent event)
Called when a mouse button press/release cycle completes on the JList

Specified by:
mouseClicked in interface MouseListener
Parameters:
event - The event representing the mouse click

mousePressed

public void mousePressed(MouseEvent event)
Called when a mouse button is pressed down on the JList.

Specified by:
mousePressed in interface MouseListener
Parameters:
event - The event representing the mouse press

mouseReleased

public void mouseReleased(MouseEvent event)
Called when a mouse button is released on the JList

Specified by:
mouseReleased in interface MouseListener
Parameters:
event - The event representing the mouse press

mouseEntered

public void mouseEntered(MouseEvent event)
Called when the mouse pointer enters the area bounded by the JList

Specified by:
mouseEntered in interface MouseListener
Parameters:
event - The event representing the mouse entry

mouseExited

public void mouseExited(MouseEvent event)
Called when the mouse pointer leaves the area bounded by the JList

Specified by:
mouseExited in interface MouseListener
Parameters:
event - The event representing the mouse exit

mouseDragged

public void mouseDragged(MouseEvent event)
Called when the mouse pointer moves over the area bounded by the JList while a button is held down.

Specified by:
mouseDragged in interface MouseMotionListener
Parameters:
event - The event representing the mouse drag

mouseMoved

public void mouseMoved(MouseEvent event)
Called when the mouse pointer moves over the area bounded by the JList.

Specified by:
mouseMoved in interface MouseMotionListener
Parameters:
event - The event representing the mouse move