<!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.InputEvent
</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.FocusEvent.html#_top_">Previous</a>  <a href="java.awt.event.ItemEvent.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.awt.event.InputEvent
</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>
                           |
                           +----java.awt.event.InputEvent
</pre>
<hr>
<dl>
  <dt> public abstract class <b>InputEvent</b>
  <dt> extends <a href="java.awt.event.ComponentEvent.html#_top_">ComponentEvent</a>
</dl>
The root event class for all component-level input events.
 Input events are delivered to listeners before they are
 processed normally by the source where they originated.
 This allows listeners and component subclasses to "consume"
 the event so that the source will not process them in their
 default manner.  For example, consuming mousePressed events
 on a Button component will prevent the Button from being
 activated.
<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="#ALT_MASK"><b>ALT_MASK</b></a>
  <dd> 
 The alt key modifier constant.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#BUTTON1_MASK"><b>BUTTON1_MASK</b></a>
  <dd>  The mouse button1 modifier constant.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#BUTTON2_MASK"><b>BUTTON2_MASK</b></a>
  <dd>  The mouse button2 modifier constant.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#BUTTON3_MASK"><b>BUTTON3_MASK</b></a>
  <dd> 
 The mouse button3 modifier constant.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#CTRL_MASK"><b>CTRL_MASK</b></a>
  <dd>  The control key modifier constant.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#META_MASK"><b>META_MASK</b></a>
  <dd> 
 The meta key modifier constant.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#SHIFT_MASK"><b>SHIFT_MASK</b></a>
  <dd>  The shift key modifier constant.
</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="#consume()"><b>consume</b></a>()
  <dd>  Consumes this event so that it will not be processed
 in the default manner by the source which originated it.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getModifiers()"><b>getModifiers</b></a>()
  <dd>  Returns the modifiers flag for this event.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getWhen()"><b>getWhen</b></a>()
  <dd>  Returns the timestamp of when this event occurred.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isAltDown()"><b>isAltDown</b></a>()
  <dd>  Returns whether or not the Alt modifier is down on this event.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isConsumed()"><b>isConsumed</b></a>()
  <dd>  Returns whether or not this event has been consumed.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isControlDown()"><b>isControlDown</b></a>()
  <dd>  Returns whether or not the Control modifier is down on this event.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isMetaDown()"><b>isMetaDown</b></a>()
  <dd>  Returns whether or not the Meta modifier is down on this event.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isShiftDown()"><b>isShiftDown</b></a>()
  <dd>  Returns whether or not the Shift modifier is down on this event.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="SHIFT_MASK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>SHIFT_MASK</b>
<pre>
 public static final int SHIFT_MASK
</pre>
<dl>
  <dd> The shift key modifier constant.<p>
</dl>
<a name="CTRL_MASK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>CTRL_MASK</b>
<pre>
 public static final int CTRL_MASK
</pre>
<dl>
  <dd> The control key modifier constant.<p>
</dl>
<a name="META_MASK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>META_MASK</b>
<pre>
 public static final int META_MASK
</pre>
<dl>
  <dd> The meta key modifier constant.<p>
</dl>
<a name="ALT_MASK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>ALT_MASK</b>
<pre>
 public static final int ALT_MASK
</pre>
<dl>
  <dd> The alt key modifier constant.<p>
</dl>
<a name="BUTTON1_MASK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>BUTTON1_MASK</b>
<pre>
 public static final int BUTTON1_MASK
</pre>
<dl>
  <dd> The mouse button1 modifier constant.<p>
</dl>
<a name="BUTTON2_MASK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>BUTTON2_MASK</b>
<pre>
 public static final int BUTTON2_MASK
</pre>
<dl>
  <dd> The mouse button2 modifier constant.<p>
</dl>
<a name="BUTTON3_MASK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>BUTTON3_MASK</b>
<pre>
 public static final int BUTTON3_MASK
</pre>
<dl>
  <dd> The mouse button3 modifier constant.<p>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="isShiftDown()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isShiftDown"><b>isShiftDown</b></a>
<pre>
 public boolean isShiftDown()
</pre>
<dl>
  <dd> Returns whether or not the Shift modifier is down on this event.
<p>
</dl>
<a name="isControlDown()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isControlDown"><b>isControlDown</b></a>
<pre>
 public boolean isControlDown()
</pre>
<dl>
  <dd> Returns whether or not the Control modifier is down on this event.
<p>
</dl>
<a name="isMetaDown()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isMetaDown"><b>isMetaDown</b></a>
<pre>
 public boolean isMetaDown()
</pre>
<dl>
  <dd> Returns whether or not the Meta modifier is down on this event.
<p>
</dl>
<a name="isAltDown()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isAltDown"><b>isAltDown</b></a>
<pre>
 public boolean isAltDown()
</pre>
<dl>
  <dd> Returns whether or not the Alt modifier is down on this event.
<p>
</dl>
<a name="getWhen()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getWhen"><b>getWhen</b></a>
<pre>
 public long getWhen()
</pre>
<dl>
  <dd> Returns the timestamp of when this event occurred.
<p>
</dl>
<a name="getModifiers()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getModifiers"><b>getModifiers</b></a>
<pre>
 public int getModifiers()
</pre>
<dl>
  <dd> Returns the modifiers flag for this event.
<p>
</dl>
<a name="consume()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="consume"><b>consume</b></a>
<pre>
 public void consume()
</pre>
<dl>
  <dd> Consumes this event so that it will not be processed
 in the default manner by the source which originated it.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.AWTEvent.html#consume()">consume</a> in class <a href="java.awt.AWTEvent.html#_top_">AWTEvent</a>
  </dl></dd>
</dl>
<a name="isConsumed()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isConsumed"><b>isConsumed</b></a>
<pre>
 public boolean isConsumed()
</pre>
<dl>
  <dd> Returns whether or not this event has been consumed.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.AWTEvent.html#isConsumed()">isConsumed</a> in class <a href="java.awt.AWTEvent.html#_top_">AWTEvent</a>
    <dt> <b>See Also:</b>
    <dd> <a href="#consume">consume</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.FocusEvent.html#_top_">Previous</a>  <a href="java.awt.event.ItemEvent.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
