|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.basic.BasicMenuUI.MouseInputHandler
protected class BasicMenuUI.MouseInputHandler
This class is used by menus to handle mouse events occuring in the menu.
Constructor Summary | |
---|---|
protected |
BasicMenuUI.MouseInputHandler()
|
Method Summary | |
---|---|
void |
mouseClicked(MouseEvent e)
This method is called when the mouse is clicked (pressed and released in short succession) on a component. |
void |
mouseDragged(MouseEvent e)
This method is called when the mouse is moved over a component while a button has been pressed. |
void |
mouseEntered(MouseEvent e)
This method is called when the mouse enters a component. |
void |
mouseExited(MouseEvent e)
This method is called when the mouse exits a component. |
void |
mouseMoved(MouseEvent e)
This method is called when the mouse is moved over a component while no button is pressed. |
void |
mousePressed(MouseEvent e)
This method is called when the mouse is pressed over a component. |
void |
mouseReleased(MouseEvent e)
This method is called when the mouse is released over a component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BasicMenuUI.MouseInputHandler()
Method Detail |
---|
public void mouseClicked(MouseEvent e)
MouseListener
mouseClicked
in interface MouseListener
e
- the MouseEvent
indicating the clickpublic void mouseDragged(MouseEvent e)
MouseMotionListener
mouseDragged
in interface MouseMotionListener
e
- the MouseEvent
indicating the motionpublic void mouseEntered(MouseEvent e)
MouseListener
mouseEntered
in interface MouseListener
e
- the MouseEvent
for the entrypublic void mouseExited(MouseEvent e)
MouseListener
mouseExited
in interface MouseListener
e
- the MouseEvent
for the exitpublic void mouseMoved(MouseEvent e)
MouseMotionListener
mouseMoved
in interface MouseMotionListener
e
- the MouseEvent
indicating the motionpublic void mousePressed(MouseEvent e)
MouseListener
mousePressed
in interface MouseListener
e
- the MouseEvent
for the presspublic void mouseReleased(MouseEvent e)
MouseListener
mouseReleased
in interface MouseListener
e
- the MouseEvent
for the release
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |