java.lang.Object
java.awt.event.MouseAdapter
javax.swing.plaf.basic.BasicSplitPaneDivider.MouseHandler
- All Implemented Interfaces:
- MouseListener,- MouseMotionListener,- MouseWheelListener,- EventListener
- Enclosing class:
- BasicSplitPaneDivider
protected class BasicSplitPaneDivider.MouseHandler extends MouseAdapter implements MouseMotionListener
MouseHandler is responsible for converting mouse events
 (released, dragged...) into the appropriate DragController
 methods.
- 
Constructor SummaryConstructors Modifier Constructor Description protectedMouseHandler()
- 
Method SummaryModifier and Type Method Description voidmouseDragged(MouseEvent e)If dragger is not null it is messaged with continueDrag.voidmouseEntered(MouseEvent e)Invoked when the mouse enters a component.voidmouseExited(MouseEvent e)Invoked when the mouse exits a component.voidmouseMoved(MouseEvent e)Resets the cursor based on the orientation.voidmousePressed(MouseEvent e)Starts the dragging session by creating the appropriate instance of DragController.voidmouseReleased(MouseEvent e)If dragger is not null it is messaged with completeDrag.
- 
Constructor Details- 
MouseHandlerprotected MouseHandler()
 
- 
- 
Method Details- 
mousePressedStarts the dragging session by creating the appropriate instance of DragController.- Specified by:
- mousePressedin interface- MouseListener
- Parameters:
- e- the event to be processed
 
- 
mouseReleasedIf dragger is not null it is messaged with completeDrag.- Specified by:
- mouseReleasedin interface- MouseListener
- Parameters:
- e- the event to be processed
 
- 
mouseDraggedIf dragger is not null it is messaged with continueDrag.- Specified by:
- mouseDraggedin interface- MouseMotionListener
- Overrides:
- mouseDraggedin class- MouseAdapter
- Parameters:
- e- the event to be processed
 
- 
mouseMovedResets the cursor based on the orientation.- Specified by:
- mouseMovedin interface- MouseMotionListener
- Overrides:
- mouseMovedin class- MouseAdapter
- Parameters:
- e- the event to be processed
 
- 
mouseEnteredInvoked when the mouse enters a component.- Specified by:
- mouseEnteredin interface- MouseListener
- Parameters:
- e- MouseEvent describing the details of the enter event.
- Since:
- 1.5
 
- 
mouseExitedInvoked when the mouse exits a component.- Specified by:
- mouseExitedin interface- MouseListener
- Parameters:
- e- MouseEvent describing the details of the exit event.
- Since:
- 1.5
 
 
-