<!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.Insets
</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.html">This Package</a>  <a href="java.awt.Image.html#_top_">Previous</a>  <a href="java.awt.Label.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.awt.Insets
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----java.awt.Insets
</pre>
<hr>
<dl>
  <dt> public class <b>Insets</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
  <dt> implements <a href="java.lang.Cloneable.html#_top_">Cloneable</a>, <a href="java.io.Serializable.html#_top_">Serializable</a>
</dl>
An <code>Insets</code> object is a representation of the borders 
 of a container. It specifies the space that a container must leave 
 at each of its edges. The space can be a border, a blank space, or 
 a title.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.awt.LayoutManager.html#_top_">LayoutManager</a>, <a href="java.awt.Container.html#_top_">Container</a>
</dl>
<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/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#bottom"><b>bottom</b></a>
  <dd>  The inset from the bottom.
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#left"><b>left</b></a>
  <dd>  The inset from the left.
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#right"><b>right</b></a>
  <dd>  The inset from the right.
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#top"><b>top</b></a>
  <dd>  The inset from the top.
</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="#Insets(int, int, int, int)"><b>Insets</b></a>(int, int, int, int)
  <dd>  Creates and initializes a new <code>Insets</code> object with the 
 specified top, left, bottom, and right insets.
</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="#clone()"><b>clone</b></a>()
  <dd>  Create a copy of this object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#equals(java.lang.Object)"><b>equals</b></a>(Object)
  <dd>  Checks whether two insets objects are equal.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#toString()"><b>toString</b></a>()
  <dd>  Returns a <code>String</code> object representing this 
 <code>Insets</code> object's values.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="top"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>top</b>
<pre>
 public int top
</pre>
<dl>
  <dd> The inset from the top.<p>
</dl>
<a name="left"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>left</b>
<pre>
 public int left
</pre>
<dl>
  <dd> The inset from the left.<p>
</dl>
<a name="bottom"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>bottom</b>
<pre>
 public int bottom
</pre>
<dl>
  <dd> The inset from the bottom.<p>
</dl>
<a name="right"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>right</b>
<pre>
 public int right
</pre>
<dl>
  <dd> The inset from the right.<p>
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Insets"></a>
<a name="Insets(int, int, int, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Insets</b>
<pre>
 public Insets(int top,
               int left,
               int bottom,
               int right)
</pre>
<dl>
  <dd> Creates and initializes a new <code>Insets</code> object with the 
 specified top, left, bottom, and right insets.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> top - the inset from the top.
    <dd> left - the inset from the left.
    <dd> bottom - the inset from the bottom.
    <dd> right - the inset from the right.
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="equals(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="equals"><b>equals</b></a>
<pre>
 public boolean equals(<a href="java.lang.Object.html#_top_">Object</a> obj)
</pre>
<dl>
  <dd> Checks whether two insets objects are equal. Two instances 
 of <code>Insets</code> are equal if the four integer values
 of the fields <code>top</code>, <code>left</code>, 
 <code>bottom</code>, and <code>right</code> are all equal.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> <code>true</code> if the two insets are equal;
                          otherwise <code>false</code>.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#equals(java.lang.Object)">equals</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="toString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="toString"><b>toString</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> toString()
</pre>
<dl>
  <dd> Returns a <code>String</code> object representing this 
 <code>Insets</code> object's values.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> a string representation of this <code>Insets</code> object,
                           including the values of its member fields.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#toString()">toString</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="clone()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="clone"><b>clone</b></a>
<pre>
 public <a href="java.lang.Object.html#_top_">Object</a> clone()
</pre>
<dl>
  <dd> Create a copy of this object.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> a copy of this <code>Insets</code> object.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#clone()">clone</a> in class <a href="java.lang.Object.html#_top_">Object</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.html">This Package</a>  <a href="java.awt.Image.html#_top_">Previous</a>  <a href="java.awt.Label.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
