|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.plaf.basic.BasicPopupMenuUI.MouseGrabber
Field Summary | |
(package private) Vector |
grabbed
|
(package private) MenuElement |
lastGrabbed
|
(package private) boolean |
lastGrabbedMenuBarChild
|
(package private) MenuElement[] |
lastPathSelected
|
Constructor Summary | |
BasicPopupMenuUI.MouseGrabber()
|
Method Summary | |
(package private) void |
cancelPopupMenu()
|
void |
componentHidden(ComponentEvent e)
Invoked when the component has been made invisible. |
void |
componentMoved(ComponentEvent e)
Invoked when the component's position changes. |
void |
componentResized(ComponentEvent e)
Invoked when the component's size changes. |
void |
componentShown(ComponentEvent e)
Invoked when the component has been made visible. |
(package private) void |
grabContainer(Container c,
Component excluded)
|
void |
mouseClicked(MouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on a component. |
void |
mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. |
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)
Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed. |
void |
mousePressed(MouseEvent e)
Invoked when a mouse button has been pressed on a component. |
void |
mouseReleased(MouseEvent e)
Invoked when a mouse button has been released on a component. |
void |
mouseWheelMoved(MouseWheelEvent e)
Invoked when the mouse wheel is rotated. |
private void |
requestAddGrab(Component invoker)
|
private void |
requestRemoveGrab()
|
void |
stateChanged(ChangeEvent e)
Invoked when the target of the listener has changed its state. |
(package private) void |
ungrabContainers()
|
void |
windowActivated(WindowEvent e)
Invoked when the Window is set to be the active Window. |
void |
windowClosed(WindowEvent e)
Invoked when a window has been closed as the result of calling dispose on the window. |
void |
windowClosing(WindowEvent e)
Invoked when the user attempts to close the window from the window's system menu. |
void |
windowDeactivated(WindowEvent e)
Invoked when a Window is no longer the active Window. |
void |
windowDeiconified(WindowEvent e)
Invoked when a window is changed from a minimized to a normal state. |
void |
windowGainedFocus(WindowEvent e)
Invoked when the Window is set to be the focused Window, which means that the Window, or one of its subcomponents, will receive keyboard events. |
void |
windowIconified(WindowEvent e)
Invoked when a window is changed from a normal to a minimized state. |
void |
windowLostFocus(WindowEvent e)
Invoked when the Window is no longer the focused Window, which means that keyboard events will no longer be delivered to the Window or any of its subcomponents. |
void |
windowOpened(WindowEvent e)
Invoked the first time a window is made visible. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
Vector grabbed
MenuElement lastGrabbed
boolean lastGrabbedMenuBarChild
MenuElement[] lastPathSelected
Constructor Detail |
public BasicPopupMenuUI.MouseGrabber()
Method Detail |
private void requestAddGrab(Component invoker)
private void requestRemoveGrab()
void cancelPopupMenu()
public void stateChanged(ChangeEvent e)
ChangeListener
stateChanged
in interface ChangeListener
e
- a ChangeEvent objectvoid grabContainer(Container c, Component excluded)
void ungrabContainers()
public void mousePressed(MouseEvent e)
MouseListener
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
MouseListener
mouseReleased
in interface MouseListener
public void mouseEntered(MouseEvent e)
MouseListener
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
MouseListener
mouseExited
in interface MouseListener
public void mouseMoved(MouseEvent e)
MouseMotionListener
mouseMoved
in interface MouseMotionListener
public void mouseDragged(MouseEvent e)
MouseMotionListener
MOUSE_DRAGGED
events will continue to be
delivered to the component where the drag originated until the
mouse button is released (regardless of whether the mouse position
is within the bounds of the component).
Due to platform-dependent Drag&Drop implementations,
MOUSE_DRAGGED
events may not be delivered during a native
Drag&Drop operation.
mouseDragged
in interface MouseMotionListener
public void mouseClicked(MouseEvent e)
MouseListener
mouseClicked
in interface MouseListener
public void mouseWheelMoved(MouseWheelEvent e)
MouseWheelListener
mouseWheelMoved
in interface MouseWheelListener
MouseWheelEvent
public void componentResized(ComponentEvent e)
ComponentListener
componentResized
in interface ComponentListener
public void componentMoved(ComponentEvent e)
ComponentListener
componentMoved
in interface ComponentListener
public void componentShown(ComponentEvent e)
ComponentListener
componentShown
in interface ComponentListener
public void componentHidden(ComponentEvent e)
ComponentListener
componentHidden
in interface ComponentListener
public void windowOpened(WindowEvent e)
WindowListener
windowOpened
in interface WindowListener
public void windowClosing(WindowEvent e)
WindowListener
windowClosing
in interface WindowListener
public void windowClosed(WindowEvent e)
WindowListener
windowClosed
in interface WindowListener
public void windowIconified(WindowEvent e)
WindowListener
windowIconified
in interface WindowListener
Frame.setIconImage(java.awt.Image)
public void windowDeiconified(WindowEvent e)
WindowListener
windowDeiconified
in interface WindowListener
public void windowActivated(WindowEvent e)
WindowListener
windowActivated
in interface WindowListener
public void windowDeactivated(WindowEvent e)
WindowListener
windowDeactivated
in interface WindowListener
public void windowLostFocus(WindowEvent e)
WindowFocusListener
windowLostFocus
in interface WindowFocusListener
public void windowGainedFocus(WindowEvent e)
WindowFocusListener
windowGainedFocus
in interface WindowFocusListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |