All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.basic.BasicSplitPaneDivider.MouseHandler

java.lang.Object
    |
    +----java.awt.event.MouseAdapter
            |
            +----java.awt.swing.basic.BasicSplitPaneDivider.MouseHandler

protected class BasicSplitPaneDivider.MouseHandler
extends MouseAdapter
implements MouseMotionListener, Serializable
MouseHandler is responsible for converting mouse events (released, dragged...) into the appropriate DragController methods.


Constructor Index

 o BasicSplitPaneDivider.MouseHandler(BasicSplitPaneDivider)

Method Index

 o mouseDragged(MouseEvent)
If dragger is not null it is messaged with continueDrag.
 o mouseMoved(MouseEvent)
Resets the cursor based on the orientation.
 o mousePressed(MouseEvent)
Starts the dragging session by creating the appropriate instance of DragController.
 o mouseReleased(MouseEvent)
If dragg is not null it is messaged with completeDrag.

Constructors

 o BasicSplitPaneDivider.MouseHandler
protected BasicSplitPaneDivider.MouseHandler(BasicSplitPaneDivider this$0)

Methods

 o mousePressed
public void mousePressed(MouseEvent e)
Starts the dragging session by creating the appropriate instance of DragController.

Overrides:
mousePressed in class MouseAdapter
 o mouseReleased
public void mouseReleased(MouseEvent e)
If dragg is not null it is messaged with completeDrag.

Overrides:
mouseReleased in class MouseAdapter
 o mouseDragged
public void mouseDragged(MouseEvent e)
If dragger is not null it is messaged with continueDrag.

 o mouseMoved
public void mouseMoved(MouseEvent e)
Resets the cursor based on the orientation.


All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature