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
- 
Method SummaryModifier and TypeMethodDescriptionvoidIf dragger is not null it is messaged with continueDrag.voidInvoked when the mouse enters a component.voidInvoked when the mouse exits a component.voidResets the cursor based on the orientation.voidStarts the dragging session by creating the appropriate instance of DragController.voidIf dragger is not null it is messaged with completeDrag.Methods declared in class java.awt.event.MouseAdaptermouseClicked, mouseWheelMoved
- 
Constructor Details- 
MouseHandlerprotected MouseHandler()Constructs aMouseHandler.
 
- 
- 
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
 
 
-