javax.swing.plaf.basic
Class BasicTreeUI.MouseInputHandler
java.lang.Object
|
+--javax.swing.plaf.basic.BasicTreeUI.MouseInputHandler
- public class BasicTreeUI.MouseInputHandler
- extends Object
- implements MouseInputListener
MouseInputHandler handles passing all mouse events,
including mouse motion events, until the mouse is released to
the destination it is constructed with. It is assumed all the
events are currently target at source.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
source
protected Component source
- Source that events are coming from.
destination
protected Component destination
- Destination that recieves all events.
BasicTreeUI.MouseInputHandler
public BasicTreeUI.MouseInputHandler(Component source,
Component destination,
MouseEvent event)
mouseClicked
public void mouseClicked(MouseEvent e)
mousePressed
public void mousePressed(MouseEvent e)
mouseReleased
public void mouseReleased(MouseEvent e)
mouseEntered
public void mouseEntered(MouseEvent e)
mouseExited
public void mouseExited(MouseEvent e)
mouseDragged
public void mouseDragged(MouseEvent e)
mouseMoved
public void mouseMoved(MouseEvent e)
removeFromSource
protected void removeFromSource()
Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.