java.lang.Object
javax.swing.plaf.basic.BasicTreeUI.MouseInputHandler
- All Implemented Interfaces:
- MouseListener,- MouseMotionListener,- EventListener,- MouseInputListener
- Enclosing class:
- BasicTreeUI
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 SummaryFields Modifier and Type Field Description protected ComponentdestinationDestination that receives all events.protected ComponentsourceSource that events are coming from.
- 
Constructor SummaryConstructors Constructor Description MouseInputHandler(Component source, Component destination, MouseEvent event)Constructs a new instance ofMouseInputHandler.
- 
Method SummaryModifier and Type Method Description protected voidremoveFromSource()Removes an event from the source.Methods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface java.awt.event.MouseListenermouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
- 
Field Details- 
sourceSource that events are coming from.
- 
destinationDestination that receives all events.
 
- 
- 
Constructor Details- 
MouseInputHandlerConstructs a new instance ofMouseInputHandler.- Parameters:
- source- a source component
- destination- a destination component
- event- a mouse event
 
 
- 
- 
Method Details- 
removeFromSourceprotected void removeFromSource()Removes an event from the source.
 
-