Java Platform 1.2

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.


Field Summary
protected  Component destination
          Destination that recieves all events.
protected  Component source
          Source that events are coming from.
 
Constructor Summary
BasicTreeUI.MouseInputHandler(Component source, Component destination, MouseEvent event)
           
 
Method Summary
 void mouseClicked(MouseEvent e)
           
 void mouseDragged(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mouseMoved(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
protected  void removeFromSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected Component source
Source that events are coming from.

destination

protected Component destination
Destination that recieves all events.
Constructor Detail

BasicTreeUI.MouseInputHandler

public BasicTreeUI.MouseInputHandler(Component source,
                                     Component destination,
                                     MouseEvent event)
Method Detail

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()

Java Platform 1.2

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.