APIdia Launch Partner
Top Description Fields Constructors Methods
javax.swing.event

public Class MenuDragMouseEvent

extends MouseEvent
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
javax.swing.MenuElement, .MenuSelectionManager, java.util.EventObject, java.awt.event.MouseEvent, java.awt.Component

MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.

Warning

Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans has been added to the java.beans package. Please see java.beans.XMLEncoder.

Author
Georges Saab

Field Summary

Modifier and TypeField and Description
private MenuSelectionManager
private MenuElement[]
Inherited from java.awt.event.MouseEvent:
BUTTON1BUTTON2BUTTON3MOUSE_CLICKEDMOUSE_DRAGGEDMOUSE_ENTEREDMOUSE_EXITEDMOUSE_FIRSTMOUSE_LASTMOUSE_MOVEDMOUSE_PRESSEDMOUSE_RELEASEDMOUSE_WHEELNOBUTTON

Constructor Summary

AccessConstructor and Description

Method Summary

Modifier and TypeMethod and Description
public MenuSelectionManager

Returns:

a MenuSelectionManager object
getMenuSelectionManager
()

Returns the current menu selection manager.

public MenuElement[]

Returns:

an array of MenuElement objects representing the path value
getPath
()

Returns the path to the selected menu item.

Inherited from java.awt.event.MouseEvent:
getButtongetClickCountgetLocationOnScreengetModifiersExgetMouseModifiersTextgetPointgetXgetXOnScreengetYgetYOnScreenisPopupTriggerparamStringtranslatePoint

Field Detail

managerback to summary
private MenuSelectionManager manager
pathback to summary
private MenuElement[] path

Constructor Detail

Method Detail

getMenuSelectionManagerback to summary
public MenuSelectionManager getMenuSelectionManager()

Returns the current menu selection manager.

Returns:MenuSelectionManager

a MenuSelectionManager object

getPathback to summary
public MenuElement[] getPath()

Returns the path to the selected menu item.

Returns:MenuElement[]

an array of MenuElement objects representing the path value