- 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 SummaryAll Methods Instance Methods Concrete Methods Modifier 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.- 
Methods inherited from class java.awt.event.MouseAdaptermouseClicked, mouseWheelMoved
 
- 
 
- 
- 
- 
Method Detail- 
mousePressedpublic void mousePressed(MouseEvent e) Starts the dragging session by creating the appropriate instance of DragController.- Specified by:
- mousePressedin interface- MouseListener
- Overrides:
- mousePressedin class- MouseAdapter
- Parameters:
- e- the event to be processed
 
 - 
mouseReleasedpublic void mouseReleased(MouseEvent e) If dragger is not null it is messaged with completeDrag.- Specified by:
- mouseReleasedin interface- MouseListener
- Overrides:
- mouseReleasedin class- MouseAdapter
- Parameters:
- e- the event to be processed
 
 - 
mouseDraggedpublic void mouseDragged(MouseEvent e) If 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
 
 - 
mouseMovedpublic void mouseMoved(MouseEvent e) Resets the cursor based on the orientation.- Specified by:
- mouseMovedin interface- MouseMotionListener
- Overrides:
- mouseMovedin class- MouseAdapter
- Parameters:
- e- the event to be processed
 
 - 
mouseEnteredpublic void mouseEntered(MouseEvent e) Invoked when the mouse enters a component.- Specified by:
- mouseEnteredin interface- MouseListener
- Overrides:
- mouseEnteredin class- MouseAdapter
- Parameters:
- e- MouseEvent describing the details of the enter event.
- Since:
- 1.5
 
 - 
mouseExitedpublic void mouseExited(MouseEvent e) Invoked when the mouse exits a component.- Specified by:
- mouseExitedin interface- MouseListener
- Overrides:
- mouseExitedin class- MouseAdapter
- Parameters:
- e- MouseEvent describing the details of the exit event.
- Since:
- 1.5
 
 
- 
 
-