javax.swing.plaf.basic

Class BasicListUI.MouseInputHandler

public class BasicListUI.MouseInputHandler extends Object implements MouseInputListener

A helper class which listens for MouseEvents from the JList.
Method Summary
voidmouseClicked(MouseEvent event)
Called when a mouse button press/release cycle completes on the JList
voidmouseDragged(MouseEvent event)
Called when the mouse pointer moves over the area bounded by the JList while a button is held down.
voidmouseEntered(MouseEvent event)
Called when the mouse pointer enters the area bounded by the JList
voidmouseExited(MouseEvent event)
Called when the mouse pointer leaves the area bounded by the JList
voidmouseMoved(MouseEvent event)
Called when the mouse pointer moves over the area bounded by the JList.
voidmousePressed(MouseEvent event)
Called when a mouse button is pressed down on the JList.
voidmouseReleased(MouseEvent event)
Called when a mouse button is released on the JList

Method Detail

mouseClicked

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

Parameters: event The event representing the mouse click

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.

Parameters: event The event representing the mouse drag

mouseEntered

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

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

Parameters: event The event representing the mouse exit

mouseMoved

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

Parameters: event The event representing the mouse move

mousePressed

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

Parameters: event The event representing the mouse press

mouseReleased

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

Parameters: event The event representing the mouse press