Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.event.MouseAdapter javax.swing.plaf.basic.BasicSplitPaneDivider.MouseHandler
protected class BasicSplitPaneDivider.MouseHandler extends MouseAdapter implements MouseMotionListener
MouseHandler is responsible for converting mouse events (released, dragged...) into the appropriate DragController methods.
Modifier | Constructor and Description |
---|---|
protected |
BasicSplitPaneDivider.MouseHandler()
|
Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(MouseEvent e)
If dragger is not null it is messaged with continueDrag. |
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)
Resets the cursor based on the orientation. |
void |
mousePressed(MouseEvent e)
Starts the dragging session by creating the appropriate instance of DragController. |
void |
mouseReleased(MouseEvent e)
If dragger is not null it is messaged with completeDrag. |
Methods inherited from class java.awt.event.MouseAdapter |
---|
mouseClicked, mouseWheelMoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BasicSplitPaneDivider.MouseHandler()
Method Detail |
---|
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class MouseAdapter
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class MouseAdapter
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
mouseMoved
in class MouseAdapter
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
mouseEntered
in class MouseAdapter
e
- MouseEvent describing the details of the enter event.public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
mouseExited
in class MouseAdapter
e
- MouseEvent describing the details of the exit event.
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.