<!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.PaintEvent
</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.MouseMotionAdapter.html#_top_">Previous</a>  <a href="java.awt.event.TextEvent.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.awt.event.PaintEvent
</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.PaintEvent
</pre>
<hr>
<dl>
  <dt> public class <b>PaintEvent</b>
  <dt> extends <a href="java.awt.event.ComponentEvent.html#_top_">ComponentEvent</a>
</dl>
The component-level paint event.
 This event is a special type which is used to ensure that
 paint/update method calls are serialized along with the other
 events delivered from the event queue.  This event is not
 designed to be used with the Event Listener model; programs
 should continue to override paint/update methods in order
 render themselves properly.
<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="#PAINT"><b>PAINT</b></a>
  <dd>  The paint event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#PAINT_FIRST"><b>PAINT_FIRST</b></a>
  <dd>  Marks the first integer id for the range of paint event ids.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#PAINT_LAST"><b>PAINT_LAST</b></a>
  <dd>  Marks the last integer id for the range of paint event ids.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#UPDATE"><b>UPDATE</b></a>
  <dd>  The update 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="#PaintEvent(java.awt.Component, int, java.awt.Rectangle)"><b>PaintEvent</b></a>(Component, int, Rectangle)
  <dd>  Constructs a PaintEvent object with the specified source component
 and type.
</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="#getUpdateRect()"><b>getUpdateRect</b></a>()
  <dd>  Returns the rectangle representing the area which needs to be
 repainted in response to this event.
  <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="#setUpdateRect(java.awt.Rectangle)"><b>setUpdateRect</b></a>(Rectangle)
  <dd>  Sets the rectangle representing the area which needs to be
 repainted in response to this event.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="PAINT_FIRST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>PAINT_FIRST</b>
<pre>
 public static final int PAINT_FIRST
</pre>
<dl>
  <dd> Marks the first integer id for the range of paint event ids.<p>
</dl>
<a name="PAINT_LAST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>PAINT_LAST</b>
<pre>
 public static final int PAINT_LAST
</pre>
<dl>
  <dd> Marks the last integer id for the range of paint event ids.<p>
</dl>
<a name="PAINT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>PAINT</b>
<pre>
 public static final int PAINT
</pre>
<dl>
  <dd> The paint event type.<p>
</dl>
<a name="UPDATE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>UPDATE</b>
<pre>
 public static final int UPDATE
</pre>
<dl>
  <dd> The update event type.<p>
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="PaintEvent"></a>
<a name="PaintEvent(java.awt.Component, int, java.awt.Rectangle)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>PaintEvent</b>
<pre>
 public PaintEvent(<a href="java.awt.Component.html#_top_">Component</a> source,
                   int id,
                   <a href="java.awt.Rectangle.html#_top_">Rectangle</a> updateRect)
</pre>
<dl>
  <dd> Constructs a PaintEvent 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="getUpdateRect()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getUpdateRect"><b>getUpdateRect</b></a>
<pre>
 public <a href="java.awt.Rectangle.html#_top_">Rectangle</a> getUpdateRect()
</pre>
<dl>
  <dd> Returns the rectangle representing the area which needs to be
 repainted in response to this event.
<p>
</dl>
<a name="setUpdateRect(java.awt.Rectangle)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setUpdateRect"><b>setUpdateRect</b></a>
<pre>
 public void setUpdateRect(<a href="java.awt.Rectangle.html#_top_">Rectangle</a> updateRect)
</pre>
<dl>
  <dd> Sets the rectangle representing the area which needs to be
 repainted in response to this event.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> updateRect - the rectangle area which needs to be repainted
  </dl></dd>
</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.MouseMotionAdapter.html#_top_">Previous</a>  <a href="java.awt.event.TextEvent.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
