protected class

WindowsMenuUI.WindowsMouseInputHandler

extends BasicMenuUI.MouseInputHandler
java.lang.Object
   ↳ javax.swing.plaf.basic.BasicMenuUI.MouseInputHandler
     ↳ com.sun.java.swing.plaf.windows.WindowsMenuUI.WindowsMouseInputHandler

Class Overview

This class implements a mouse handler that sets the rollover flag to true when the mouse enters the menu and false when it exits.

Summary

Protected Constructors
WindowsMenuUI.WindowsMouseInputHandler()
Public Methods
void mouseEntered(MouseEvent evt)
Invoked when the cursor enters the menu.
void mouseExited(MouseEvent evt)
Invoked when the mouse exits a component.
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicMenuUI.MouseInputHandler
From class java.lang.Object
From interface java.awt.event.MouseListener
From interface java.awt.event.MouseMotionListener

Protected Constructors

protected WindowsMenuUI.WindowsMouseInputHandler ()

Public Methods

public void mouseEntered (MouseEvent evt)

Invoked when the cursor enters the menu. This method sets the selected path for the MenuSelectionManager and handles the case in which a menu item is used to pop up an additional menu, as in a hierarchical menu system.

Parameters
evt the mouse event; not used

public void mouseExited (MouseEvent evt)

Invoked when the mouse exits a component.