uic.themes
Class UICListUI.MouseInputHandler
java.lang.Object
uic.themes.UICListUI.MouseInputHandler
- All Implemented Interfaces:
- EventListener, MouseInputListener, MouseListener, MouseMotionListener
- Enclosing class:
- UICListUI
- public class UICListUI.MouseInputHandler
- extends Object
- implements MouseInputListener
Mouse input, and focus handling for JList. An instance of this
class is added to the appropriate java.awt.Component lists
at installUI() time. Note keyboard input is handled with JComponent
KeyboardActions, see installKeyboardActions().
- See Also:
UICListUI.createMouseInputListener()
,
BasicListUI.installKeyboardActions()
,
BasicListUI.installUI(javax.swing.JComponent)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UICListUI.MouseInputHandler
public UICListUI.MouseInputHandler()
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked
in interface MouseListener
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEntered
in interface MouseListener
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExited
in interface MouseListener
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleased
in interface MouseListener
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
mouseMoved
in interface MouseMotionListener
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDragged
in interface MouseMotionListener
adjustFocusAndSelection
protected void adjustFocusAndSelection(MouseEvent e,
boolean forceSelect)
- Parameters:
e
- the mouse event containing the info of what to selectforceSelect
- true when needs to select, no matter the previous value (only for multi_selection_interval)
This way double click on a selected row will keep the row selected
Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence