<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.awt.event.MouseEvent
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.awt.event.html">This Package</a>  <a href="java.awt.event.MouseAdapter.html#_top_">Previous</a>  <a href="java.awt.event.MouseMotionAdapter.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.awt.event.MouseEvent
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.util.EventObject.html#_top_">java.util.EventObject</a>
           |
           +----<a href="java.awt.AWTEvent.html#_top_">java.awt.AWTEvent</a>
                   |
                   +----<a href="java.awt.event.ComponentEvent.html#_top_">java.awt.event.ComponentEvent</a>
                           |
                           +----<a href="java.awt.event.InputEvent.html#_top_">java.awt.event.InputEvent</a>
                                   |
                                   +----java.awt.event.MouseEvent
</pre>
<hr>
<dl>
  <dt> public class <b>MouseEvent</b>
  <dt> extends <a href="java.awt.event.InputEvent.html#_top_">InputEvent</a>
</dl>
The mouse event.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOUSE_CLICKED"><b>MOUSE_CLICKED</b></a>
  <dd>  The mouse clicked event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOUSE_DRAGGED"><b>MOUSE_DRAGGED</b></a>
  <dd>  The mouse dragged event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOUSE_ENTERED"><b>MOUSE_ENTERED</b></a>
  <dd>  The mouse entered event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOUSE_EXITED"><b>MOUSE_EXITED</b></a>
  <dd>  The mouse exited event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOUSE_FIRST"><b>MOUSE_FIRST</b></a>
  <dd>  Marks the first integer id for the range of mouse event ids.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOUSE_LAST"><b>MOUSE_LAST</b></a>
  <dd>  Marks the last integer id for the range of mouse event ids.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOUSE_MOVED"><b>MOUSE_MOVED</b></a>
  <dd>  The mouse moved event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOUSE_PRESSED"><b>MOUSE_PRESSED</b></a>
  <dd>  The mouse pressed event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOUSE_RELEASED"><b>MOUSE_RELEASED</b></a>
  <dd>  The mouse released event type.
</dl>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MouseEvent(java.awt.Component, int, long, int, int, int, int, boolean)"><b>MouseEvent</b></a>(Component, int, long, int, int, int, int, boolean)
  <dd>  Constructs a MouseEvent object with the specified source component,
 type, modifiers, coordinates, and click count.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getClickCount()"><b>getClickCount</b></a>()
  <dd>  Return the number of mouse clicks associated with this event.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getPoint()"><b>getPoint</b></a>()
  <dd>  Returns the x,y position of the event relative to the source component.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getX()"><b>getX</b></a>()
  <dd>  Returns the x position of the event relative to the source component.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getY()"><b>getY</b></a>()
  <dd>  Returns the y position of the event relative to the source component.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isPopupTrigger()"><b>isPopupTrigger</b></a>()
  <dd>  Returns whether or not this mouse event is the popup-menu
 trigger event for the platform.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#paramString()"><b>paramString</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#translatePoint(int, int)"><b>translatePoint</b></a>(int, int)
  <dd>  Translates the coordinate position of the event by x, y.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="MOUSE_FIRST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOUSE_FIRST</b>
<pre>
 public static final int MOUSE_FIRST
</pre>
<dl>
  <dd> Marks the first integer id for the range of mouse event ids.<p>
</dl>
<a name="MOUSE_LAST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOUSE_LAST</b>
<pre>
 public static final int MOUSE_LAST
</pre>
<dl>
  <dd> Marks the last integer id for the range of mouse event ids.<p>
</dl>
<a name="MOUSE_CLICKED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOUSE_CLICKED</b>
<pre>
 public static final int MOUSE_CLICKED
</pre>
<dl>
  <dd> The mouse clicked event type.<p>
</dl>
<a name="MOUSE_PRESSED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOUSE_PRESSED</b>
<pre>
 public static final int MOUSE_PRESSED
</pre>
<dl>
  <dd> The mouse pressed event type.<p>
</dl>
<a name="MOUSE_RELEASED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOUSE_RELEASED</b>
<pre>
 public static final int MOUSE_RELEASED
</pre>
<dl>
  <dd> The mouse released event type.<p>
</dl>
<a name="MOUSE_MOVED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOUSE_MOVED</b>
<pre>
 public static final int MOUSE_MOVED
</pre>
<dl>
  <dd> The mouse moved event type.<p>
</dl>
<a name="MOUSE_ENTERED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOUSE_ENTERED</b>
<pre>
 public static final int MOUSE_ENTERED
</pre>
<dl>
  <dd> The mouse entered event type.<p>
</dl>
<a name="MOUSE_EXITED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOUSE_EXITED</b>
<pre>
 public static final int MOUSE_EXITED
</pre>
<dl>
  <dd> The mouse exited event type.<p>
</dl>
<a name="MOUSE_DRAGGED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOUSE_DRAGGED</b>
<pre>
 public static final int MOUSE_DRAGGED
</pre>
<dl>
  <dd> The mouse dragged event type.<p>
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="MouseEvent"></a>
<a name="MouseEvent(java.awt.Component, int, long, int, int, int, int, boolean)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>MouseEvent</b>
<pre>
 public MouseEvent(<a href="java.awt.Component.html#_top_">Component</a> source,
                   int id,
                   long when,
                   int modifiers,
                   int x,
                   int y,
                   int clickCount,
                   boolean popupTrigger)
</pre>
<dl>
  <dd> Constructs a MouseEvent object with the specified source component,
 type, modifiers, coordinates, and click count.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> source - the object where the event originated
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getX()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getX"><b>getX</b></a>
<pre>
 public int getX()
</pre>
<dl>
  <dd> Returns the x position of the event relative to the source component.
<p>
</dl>
<a name="getY()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getY"><b>getY</b></a>
<pre>
 public int getY()
</pre>
<dl>
  <dd> Returns the y position of the event relative to the source component.
<p>
</dl>
<a name="getPoint()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getPoint"><b>getPoint</b></a>
<pre>
 public <a href="java.awt.Point.html#_top_">Point</a> getPoint()
</pre>
<dl>
  <dd> Returns the x,y position of the event relative to the source component.
<p>
</dl>
<a name="translatePoint(int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="translatePoint"><b>translatePoint</b></a>
<pre>
 public synchronized void translatePoint(int x,
                                         int y)
</pre>
<dl>
  <dd> Translates the coordinate position of the event by x, y.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> x - the x value added to the current x coordinate position
    <dd> y - the y value added to the current y coordinate position
  </dl></dd>
</dl>
<a name="getClickCount()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getClickCount"><b>getClickCount</b></a>
<pre>
 public int getClickCount()
</pre>
<dl>
  <dd> Return the number of mouse clicks associated with this event.
<p>
</dl>
<a name="isPopupTrigger()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isPopupTrigger"><b>isPopupTrigger</b></a>
<pre>
 public boolean isPopupTrigger()
</pre>
<dl>
  <dd> Returns whether or not this mouse event is the popup-menu
 trigger event for the platform.
<p>
</dl>
<a name="paramString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="paramString"><b>paramString</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> paramString()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.event.ComponentEvent.html#paramString()">paramString</a> in class <a href="java.awt.event.ComponentEvent.html#_top_">ComponentEvent</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.awt.event.html">This Package</a>  <a href="java.awt.event.MouseAdapter.html#_top_">Previous</a>  <a href="java.awt.event.MouseMotionAdapter.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
