<!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.Cursor
</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.Container.html#_top_">Previous</a>  <a href="java.awt.Dialog.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.awt.Cursor
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----java.awt.Cursor
</pre>
<hr>
<dl>
  <dt> public class <b>Cursor</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
  <dt> implements <a href="java.io.Serializable.html#_top_">Serializable</a>
</dl>
A class to encapsulate the bitmap representation of the mouse cursor.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.awt.Component.html#setCursor">setCursor</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/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#CROSSHAIR_CURSOR"><b>CROSSHAIR_CURSOR</b></a>
  <dd>  The crosshair cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#DEFAULT_CURSOR"><b>DEFAULT_CURSOR</b></a>
  <dd>  The default cursor type (gets set if no cursor is defined).
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#E_RESIZE_CURSOR"><b>E_RESIZE_CURSOR</b></a>
  <dd>  The east-resize cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HAND_CURSOR"><b>HAND_CURSOR</b></a>
  <dd>  The hand cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOVE_CURSOR"><b>MOVE_CURSOR</b></a>
  <dd>  The move cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#N_RESIZE_CURSOR"><b>N_RESIZE_CURSOR</b></a>
  <dd>  The north-resize cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#NE_RESIZE_CURSOR"><b>NE_RESIZE_CURSOR</b></a>
  <dd>  The north-east-resize cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#NW_RESIZE_CURSOR"><b>NW_RESIZE_CURSOR</b></a>
  <dd>  The north-west-resize cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#predefined"><b>predefined</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#S_RESIZE_CURSOR"><b>S_RESIZE_CURSOR</b></a>
  <dd>  The south-resize cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#SE_RESIZE_CURSOR"><b>SE_RESIZE_CURSOR</b></a>
  <dd>  The south-east-resize cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#SW_RESIZE_CURSOR"><b>SW_RESIZE_CURSOR</b></a>
  <dd>  The south-west-resize cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TEXT_CURSOR"><b>TEXT_CURSOR</b></a>
  <dd>  The text cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#W_RESIZE_CURSOR"><b>W_RESIZE_CURSOR</b></a>
  <dd>  The west-resize cursor type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#WAIT_CURSOR"><b>WAIT_CURSOR</b></a>
  <dd>  The wait cursor 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="#Cursor(int)"><b>Cursor</b></a>(int)
  <dd>  Creates a new cursor object with the specified type.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getDefaultCursor()"><b>getDefaultCursor</b></a>()
  <dd>  Return the system default cursor.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getPredefinedCursor(int)"><b>getPredefinedCursor</b></a>(int)
  <dd>  Returns a cursor object with the specified predefined type.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getType()"><b>getType</b></a>()
  <dd>  Returns the type for this cursor.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="DEFAULT_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>DEFAULT_CURSOR</b>
<pre>
 public static final int DEFAULT_CURSOR
</pre>
<dl>
  <dd> The default cursor type (gets set if no cursor is defined).<p>
</dl>
<a name="CROSSHAIR_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>CROSSHAIR_CURSOR</b>
<pre>
 public static final int CROSSHAIR_CURSOR
</pre>
<dl>
  <dd> The crosshair cursor type.<p>
</dl>
<a name="TEXT_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>TEXT_CURSOR</b>
<pre>
 public static final int TEXT_CURSOR
</pre>
<dl>
  <dd> The text cursor type.<p>
</dl>
<a name="WAIT_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>WAIT_CURSOR</b>
<pre>
 public static final int WAIT_CURSOR
</pre>
<dl>
  <dd> The wait cursor type.<p>
</dl>
<a name="SW_RESIZE_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>SW_RESIZE_CURSOR</b>
<pre>
 public static final int SW_RESIZE_CURSOR
</pre>
<dl>
  <dd> The south-west-resize cursor type.<p>
</dl>
<a name="SE_RESIZE_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>SE_RESIZE_CURSOR</b>
<pre>
 public static final int SE_RESIZE_CURSOR
</pre>
<dl>
  <dd> The south-east-resize cursor type.<p>
</dl>
<a name="NW_RESIZE_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>NW_RESIZE_CURSOR</b>
<pre>
 public static final int NW_RESIZE_CURSOR
</pre>
<dl>
  <dd> The north-west-resize cursor type.<p>
</dl>
<a name="NE_RESIZE_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>NE_RESIZE_CURSOR</b>
<pre>
 public static final int NE_RESIZE_CURSOR
</pre>
<dl>
  <dd> The north-east-resize cursor type.<p>
</dl>
<a name="N_RESIZE_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>N_RESIZE_CURSOR</b>
<pre>
 public static final int N_RESIZE_CURSOR
</pre>
<dl>
  <dd> The north-resize cursor type.<p>
</dl>
<a name="S_RESIZE_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>S_RESIZE_CURSOR</b>
<pre>
 public static final int S_RESIZE_CURSOR
</pre>
<dl>
  <dd> The south-resize cursor type.<p>
</dl>
<a name="W_RESIZE_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>W_RESIZE_CURSOR</b>
<pre>
 public static final int W_RESIZE_CURSOR
</pre>
<dl>
  <dd> The west-resize cursor type.<p>
</dl>
<a name="E_RESIZE_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>E_RESIZE_CURSOR</b>
<pre>
 public static final int E_RESIZE_CURSOR
</pre>
<dl>
  <dd> The east-resize cursor type.<p>
</dl>
<a name="HAND_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>HAND_CURSOR</b>
<pre>
 public static final int HAND_CURSOR
</pre>
<dl>
  <dd> The hand cursor type.<p>
</dl>
<a name="MOVE_CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOVE_CURSOR</b>
<pre>
 public static final int MOVE_CURSOR
</pre>
<dl>
  <dd> The move cursor type.<p>
</dl>
<a name="predefined"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>predefined</b>
<pre>
 protected static <a href="#_top_">Cursor</a> predefined[]
</pre>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Cursor"></a>
<a name="Cursor(int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Cursor</b>
<pre>
 public Cursor(int type)
</pre>
<dl>
  <dd> Creates a new cursor object with the specified type.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> type - the type of cursor
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getPredefinedCursor(int)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getPredefinedCursor"><b>getPredefinedCursor</b></a>
<pre>
 public static <a href="#_top_">Cursor</a> getPredefinedCursor(int type)
</pre>
<dl>
  <dd> Returns a cursor object with the specified predefined type.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> type - the type of predefined cursor
  </dl></dd>
</dl>
<a name="getDefaultCursor()"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getDefaultCursor"><b>getDefaultCursor</b></a>
<pre>
 public static <a href="#_top_">Cursor</a> getDefaultCursor()
</pre>
<dl>
  <dd> Return the system default cursor.
<p>
</dl>
<a name="getType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getType"><b>getType</b></a>
<pre>
 public int getType()
</pre>
<dl>
  <dd> Returns the type for this cursor.
<p>
</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.Container.html#_top_">Previous</a>  <a href="java.awt.Dialog.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
