<!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.FocusEvent
</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.FocusAdapter.html#_top_">Previous</a>  <a href="java.awt.event.InputEvent.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.awt.event.FocusEvent
</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.FocusEvent
</pre>
<hr>
<dl>
  <dt> public class <b>FocusEvent</b>
  <dt> extends <a href="java.awt.event.ComponentEvent.html#_top_">ComponentEvent</a>
</dl>
The component-level focus event.
 There are two levels of focus change events: permanent and temporary.
 Permanent focus change events occur when focus is directly moved
 from one component to another, such as through calls to requestFocus()
 or as the user uses the Tab key to traverse components.
 Temporary focus change events occur when focus is temporarily
 gained or lost for a component as the indirect result of another
 operation, such as window deactivation or a scrollbar drag.  In this
 case, the original focus state will automatically be restored once
 that operation is finished, or, for the case of window deactivation,
 when the window is reactivated.  Both permanent and temporary focus
 events are delivered using the FOCUS_GAINED and FOCUS_LOST event ids;
 the levels may be distinguished in the event using the isTemporary()
 method.
<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="#FOCUS_FIRST"><b>FOCUS_FIRST</b></a>
  <dd>  Marks the first integer id for the range of focus event ids.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#FOCUS_GAINED"><b>FOCUS_GAINED</b></a>
  <dd>  The focus gained event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#FOCUS_LAST"><b>FOCUS_LAST</b></a>
  <dd>  Marks the last integer id for the range of focus event ids.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#FOCUS_LOST"><b>FOCUS_LOST</b></a>
  <dd>  The focus lost 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="#FocusEvent(java.awt.Component, int)"><b>FocusEvent</b></a>(Component, int)
  <dd>  Constructs a permanent-level FocusEvent object with the 
 specified source component and type.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#FocusEvent(java.awt.Component, int, boolean)"><b>FocusEvent</b></a>(Component, int, boolean)
  <dd>  Constructs a FocusEvent object with the specified source component,
 type, and whether or not the focus event is a temporary level event.
</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="#isTemporary()"><b>isTemporary</b></a>()
  <dd>  Returns whether or not this focus change event is a temporary
 change.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#paramString()"><b>paramString</b></a>()
  <dd> 
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="FOCUS_FIRST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>FOCUS_FIRST</b>
<pre>
 public static final int FOCUS_FIRST
</pre>
<dl>
  <dd> Marks the first integer id for the range of focus event ids.<p>
</dl>
<a name="FOCUS_LAST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>FOCUS_LAST</b>
<pre>
 public static final int FOCUS_LAST
</pre>
<dl>
  <dd> Marks the last integer id for the range of focus event ids.<p>
</dl>
<a name="FOCUS_GAINED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>FOCUS_GAINED</b>
<pre>
 public static final int FOCUS_GAINED
</pre>
<dl>
  <dd> The focus gained event type.<p>
</dl>
<a name="FOCUS_LOST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>FOCUS_LOST</b>
<pre>
 public static final int FOCUS_LOST
</pre>
<dl>
  <dd> The focus lost event type.<p>
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="FocusEvent"></a>
<a name="FocusEvent(java.awt.Component, int, boolean)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>FocusEvent</b>
<pre>
 public FocusEvent(<a href="java.awt.Component.html#_top_">Component</a> source,
                   int id,
                   boolean temporary)
</pre>
<dl>
  <dd> Constructs a FocusEvent object with the specified source component,
 type, and whether or not the focus event is a temporary level event.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> source - the object where the event originated
  </dl></dd>
</dl>
<a name="FocusEvent(java.awt.Component, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>FocusEvent</b>
<pre>
 public FocusEvent(<a href="java.awt.Component.html#_top_">Component</a> source,
                   int id)
</pre>
<dl>
  <dd> Constructs a permanent-level FocusEvent object with the 
 specified source component and type.
<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="isTemporary()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isTemporary"><b>isTemporary</b></a>
<pre>
 public boolean isTemporary()
</pre>
<dl>
  <dd> Returns whether or not this focus change event is a temporary
 change.
<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.FocusAdapter.html#_top_">Previous</a>  <a href="java.awt.event.InputEvent.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
