javax.swing.plaf.basic
public class BasicTreeUI.MouseInputHandler extends Object implements MouseInputListener
| Field Summary | |
|---|---|
| protected Component | destination Destination that receives all events. |
| protected Component | source Source that events are coming from |
| Constructor Summary | |
|---|---|
| MouseInputHandler(Component source, Component destination, MouseEvent e)
Constructor
| |
| Method Summary | |
|---|---|
| void | mouseClicked(MouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on
a component.
|
| void | mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged.
|
| void | mouseEntered(MouseEvent e)
Invoked when the mouse enters a component.
|
| void | mouseExited(MouseEvent e)
Invoked when the mouse exits a component.
|
| void | mouseMoved(MouseEvent e)
Invoked when the mouse cursor has been moved onto a component but no
buttons have been pushed.
|
| void | mousePressed(MouseEvent e)
Invoked when a mouse button has been pressed on a component.
|
| void | mouseReleased(MouseEvent e)
Invoked when a mouse button has been released on a component.
|
| protected void | removeFromSource()
Removes event from the source |
Parameters: source that events are coming from destination that receives all events e is the event received
Parameters: e mouse event that occured
Parameters: e mouse event that occured
Parameters: e mouse event that occured
Parameters: e mouse event that occured
Parameters: e mouse event that occured
Parameters: e mouse event that occured
Parameters: e mouse event that occured