Java Platform 1.2
Beta 4

Uses of Class
java.awt.event.MouseEvent

Packages that use MouseEvent
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.event Provides for events fired by Swing components.  
com.sun.java.swing.table Provides classes and interfaces for dealing with java.awt.swing. 
com.sun.java.swing.text Provides classes and interfaces that deal with editable and noneditable text components.  
com.sun.java.swing.text.html Provides the class (HTMLEditorKit) and supporting classes for creating HTML text editors.  
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.  
java.awt.dnd Provides interfaces and classes for supporting drag-and-drop operations.  
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components.  
 

Uses of MouseEvent in com.sun.java.swing
 

Methods in com.sun.java.swing that return MouseEvent
static MouseEvent SwingUtilities.convertMouseEvent(Component source, MouseEvent sourceEvent, Component destination)
          Returns a MouseEvent similar to sourceEvent except that its x and y members have been converted to destination's coordinate system.
 

Methods in com.sun.java.swing with parameters of type MouseEvent
 String JComponent.getToolTipText(MouseEvent event)
          Returns the string to be used as the tooltip for event.
 Point JComponent.getToolTipLocation(MouseEvent event)
          Return the tooltip location in the receiving component coordinate system If null is returned, Swing will choose a location.
protected  void JComponent.processMouseMotionEvent(MouseEvent e)
           
 void JMenuItem.processMouseEvent(MouseEvent e, MenuElement[] path, MenuSelectionManager manager)
          Process a mouse event forwarded from the MenuSelectionManager.
static MouseEvent SwingUtilities.convertMouseEvent(Component source, MouseEvent sourceEvent, Component destination)
          Returns a MouseEvent similar to sourceEvent except that its x and y members have been converted to destination's coordinate system.
static boolean SwingUtilities.isLeftMouseButton(MouseEvent anEvent)
           
static boolean SwingUtilities.isMiddleMouseButton(MouseEvent anEvent)
           
static boolean SwingUtilities.isRightMouseButton(MouseEvent anEvent)
           
 void MenuSelectionManager.processMouseEvent(MouseEvent event)
           
 String JTable.getToolTipText(MouseEvent event)
          Overrides JComponent's setToolTipText method to allow use of the renderer's tips (if the renderer has text set).
 String JTree.getToolTipText(MouseEvent event)
          Overrides JComponent's getToolTipText method in order to allow renderer's tips to be used if it has text set.
 void JPopupMenu.processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)
           
 void JMenuBar.processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)
          Implemented to be a MenuElement -- does nothing.
 String JTabbedPane.getToolTipText(MouseEvent event)
          Returns the tooltip text for the component determined by the mouse event location.
 void ToolTipManager.mouseEntered(MouseEvent event)
           
 void ToolTipManager.mouseExited(MouseEvent event)
           
 void ToolTipManager.mousePressed(MouseEvent event)
           
 void ToolTipManager.mouseDragged(MouseEvent event)
           
 void ToolTipManager.mouseMoved(MouseEvent event)
           
 void MenuElement.processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)
          Process a mouse event. event is a MouseEvent with source being the receiving element's component. path is the path of the receiving element in the menu hierarchy including the receiving element itself. manager is the MenuSelectionManager for the menu hierarchy.
 

Uses of MouseEvent in com.sun.java.swing.event
 

Subclasses of MouseEvent in com.sun.java.swing.event
  MenuDragMouseEvent
          MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.
 

Methods in com.sun.java.swing.event with parameters of type MouseEvent
 void MouseInputAdapter.mouseClicked(MouseEvent e)
           
 void MouseInputAdapter.mousePressed(MouseEvent e)
           
 void MouseInputAdapter.mouseReleased(MouseEvent e)
           
 void MouseInputAdapter.mouseEntered(MouseEvent e)
           
 void MouseInputAdapter.mouseExited(MouseEvent e)
           
 void MouseInputAdapter.mouseDragged(MouseEvent e)
           
 void MouseInputAdapter.mouseMoved(MouseEvent e)
           
 

Uses of MouseEvent in com.sun.java.swing.table
 

Methods in com.sun.java.swing.table with parameters of type MouseEvent
 String JTableHeader.getToolTipText(MouseEvent event)
          Overriding to allow renderer's tips to be used if it has text set.
 

Uses of MouseEvent in com.sun.java.swing.text
 

Methods in com.sun.java.swing.text with parameters of type MouseEvent
protected  void DefaultCaret.positionCaret(MouseEvent e)
          Tries to set the position of the caret from the coordinates of a mouse event, using viewToModel().
protected  void DefaultCaret.moveCaret(MouseEvent e)
          Tries to move the position of the caret from the coordinates of a mouse event, using viewToModel().
 void DefaultCaret.mouseClicked(MouseEvent e)
          Called when the mouse is clicked.
 void DefaultCaret.mousePressed(MouseEvent e)
          Requests focus on the associated text component, and tries to set the cursor position.
 void DefaultCaret.mouseReleased(MouseEvent e)
          Called when the mouse is released.
 void DefaultCaret.mouseEntered(MouseEvent e)
          Called when the mouse enters a region.
 void DefaultCaret.mouseExited(MouseEvent e)
          Called when the mouse exits a region.
 void DefaultCaret.mouseDragged(MouseEvent e)
          Moves the caret position according to the mouse pointer's current location.
 void DefaultCaret.mouseMoved(MouseEvent e)
          Called when the mouse is moved.
 

Uses of MouseEvent in com.sun.java.swing.text.html
 

Methods in com.sun.java.swing.text.html with parameters of type MouseEvent
 void HTMLEditorKit.LinkController.mouseClicked(MouseEvent e)
          Called for a mouse click event.
 

Uses of MouseEvent in java.awt
 

Methods in java.awt with parameters of type MouseEvent
protected  void Component.processMouseEvent(MouseEvent e)
          Processes mouse events occurring on this component by dispatching them to any registered MouseListener objects.
protected  void Component.processMouseMotionEvent(MouseEvent e)
          Processes mouse motion events occurring on this component by dispatching them to any registered MouseMotionListener objects.
 void AWTEventMulticaster.mouseClicked(MouseEvent e)
          Handles the mouseClicked event by invoking the mouseClicked methods on listener-a and listener-b.
 void AWTEventMulticaster.mousePressed(MouseEvent e)
          Handles the mousePressed event by invoking the mousePressed methods on listener-a and listener-b.
 void AWTEventMulticaster.mouseReleased(MouseEvent e)
          Handles the mouseReleased event by invoking the mouseReleased methods on listener-a and listener-b.
 void AWTEventMulticaster.mouseEntered(MouseEvent e)
          Handles the mouseEntered event by invoking the mouseEntered methods on listener-a and listener-b.
 void AWTEventMulticaster.mouseExited(MouseEvent e)
          Handles the mouseExited event by invoking the mouseExited methods on listener-a and listener-b.
 void AWTEventMulticaster.mouseDragged(MouseEvent e)
          Handles the mouseDragged event by invoking the mouseDragged methods on listener-a and listener-b.
 void AWTEventMulticaster.mouseMoved(MouseEvent e)
          Handles the mouseMoved event by invoking the mouseMoved methods on listener-a and listener-b.
 

Uses of MouseEvent in java.awt.dnd
 

Methods in java.awt.dnd with parameters of type MouseEvent
 void MouseDragGestureRecognizer.mouseClicked(MouseEvent e)
          Invoked when the mouse has been clicked on a component.
 void MouseDragGestureRecognizer.mousePressed(MouseEvent e)
          Invoked when a mouse button has been pressed on a component.
 void MouseDragGestureRecognizer.mouseReleased(MouseEvent e)
          Invoked when a mouse button has been released on a component.
 void MouseDragGestureRecognizer.mouseEntered(MouseEvent e)
          Invoked when the mouse enters a component.
 void MouseDragGestureRecognizer.mouseExited(MouseEvent e)
          Invoked when the mouse exits a component.
 void MouseDragGestureRecognizer.mouseDragged(MouseEvent e)
          Invoked when a mouse button is pressed on a component.
 void MouseDragGestureRecognizer.mouseMoved(MouseEvent e)
          Invoked when the mouse button has been moved on a component (with no buttons no down).
 

Uses of MouseEvent in java.awt.event
 

Methods in java.awt.event with parameters of type MouseEvent
 void MouseAdapter.mouseClicked(MouseEvent e)
          Invoked when the mouse has been clicked on a component.
 void MouseAdapter.mousePressed(MouseEvent e)
          Invoked when a mouse button has been pressed on a component.
 void MouseAdapter.mouseReleased(MouseEvent e)
          Invoked when a mouse button has been released on a component.
 void MouseAdapter.mouseEntered(MouseEvent e)
          Invoked when the mouse enters a component.
 void MouseAdapter.mouseExited(MouseEvent e)
          Invoked when the mouse exits a component.
 void MouseMotionAdapter.mouseDragged(MouseEvent e)
          Invoked when a mouse button is pressed on a component and then dragged.
 void MouseMotionAdapter.mouseMoved(MouseEvent e)
          Invoked when the mouse button has been moved on a component (with no buttons no down).
 void MouseListener.mouseClicked(MouseEvent e)
          Invoked when the mouse has been clicked on a component.
 void MouseListener.mousePressed(MouseEvent e)
          Invoked when a mouse button has been pressed on a component.
 void MouseListener.mouseReleased(MouseEvent e)
          Invoked when a mouse button has been released on a component.
 void MouseListener.mouseEntered(MouseEvent e)
          Invoked when the mouse enters a component.
 void MouseListener.mouseExited(MouseEvent e)
          Invoked when the mouse exits a component.
 void MouseMotionListener.mouseDragged(MouseEvent e)
          Invoked when a mouse button is pressed on a component and then dragged.
 void MouseMotionListener.mouseMoved(MouseEvent e)
          Invoked when the mouse button has been moved on a component (with no buttons no down).
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.