mootcan.CommandTextField.html

mootcan-0.1.17/docs/mootcan.CommandTextField.html · 11.1 KB

From the archive mootcan-0.1.17.tar.gz

Download the archive   « Back to the archive contents

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Thu Dec 02 07:37:32 GMT+03:30 1999 -->
<title>
  Class mootcan.CommandTextField
</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-mootcan.html">This Package</a>  <a href="Package-mootcan.html">Previous</a>  <a href="Package-mootcan.html">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class mootcan.CommandTextField
</h1>
<pre>
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----mootcan.CommandTextField
</pre>
<hr>
<dl>
  <dt> public class <b>CommandTextField</b>
  <dt> extends Panel
</dl>
a textfield to enter commands has support for history.  sends the
 'commands' into a pipe. for now it only sends strings, but it can probably
 be expanded to send other types.
 it may seem like overkill to add a new panel just for the TextArea here. the
 reason I did this was to make it possible to try to add a java-1.1 TextArea
 which is superior to the java-1.0 one. (we are allowed to construct it
 without scrollbars). if the java-1.1 TextArea is not found, we fall back to
 the java-1.0 one.
<p>
<dl>
  <dt> <b>Author:</b>
  <dd> Sindre Sørensen
</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="#ancientAWT"><b>ancientAWT</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#caretPosition"><b>caretPosition</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#commandArea"><b>commandArea</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#currentMode"><b>currentMode</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#history"><b>history</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#histSize"><b>histSize</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#inputStream"><b>inputStream</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#issuedCommand"><b>issuedCommand</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#modes"><b>modes</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#out"><b>out</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#outputArea"><b>outputArea</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#outputStream"><b>outputStream</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#PGDNonKeyDown"><b>PGDNonKeyDown</b></a>
  <dd> 
</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="#CommandTextField(java.awt.Font, int, java.util.Vector)"><b>CommandTextField</b></a>(Font, int, Vector)
  <dd> 
</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="#clean()"><b>clean</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#cycleDown()"><b>cycleDown</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#cycleUp()"><b>cycleUp</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getInputStream()"><b>getInputStream</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getIssuedCommand()"><b>getIssuedCommand</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getMode()"><b>getMode</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#issueCommand()"><b>issueCommand</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#keyDown(java.awt.Event, int)"><b>keyDown</b></a>(Event, int)
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#keyUp(java.awt.Event, int)"><b>keyUp</b></a>(Event, int)
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#requestFocus()"><b>requestFocus</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#sendIssuedCommand(java.lang.String)"><b>sendIssuedCommand</b></a>(String)
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setMode(mootcan.Mode)"><b>setMode</b></a>(Mode)
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setMode(java.lang.String)"><b>setMode</b></a>(String)
  <dd> 
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="histSize"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>histSize</b>
<pre>
 private int histSize
</pre>
<a name="caretPosition"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>caretPosition</b>
<pre>
 private int caretPosition
</pre>
<a name="outputArea"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>outputArea</b>
<pre>
 private <a href="mootcan.UserOutputArea.html#_top_">UserOutputArea</a> outputArea
</pre>
<a name="history"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>history</b>
<pre>
 <a href="mootcan.HistoryList.html#_top_">HistoryList</a> history
</pre>
<a name="issuedCommand"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>issuedCommand</b>
<pre>
 String issuedCommand
</pre>
<a name="PGDNonKeyDown"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>PGDNonKeyDown</b>
<pre>
 boolean PGDNonKeyDown
</pre>
<a name="ancientAWT"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>ancientAWT</b>
<pre>
 boolean ancientAWT
</pre>
<a name="outputStream"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>outputStream</b>
<pre>
 PipedOutputStream outputStream
</pre>
<a name="inputStream"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>inputStream</b>
<pre>
 PipedInputStream inputStream
</pre>
<a name="out"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>out</b>
<pre>
 DataOutputStream out
</pre>
<a name="commandArea"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>commandArea</b>
<pre>
 TextComponent commandArea
</pre>
<a name="modes"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>modes</b>
<pre>
 Vector modes
</pre>
<a name="currentMode"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>currentMode</b>
<pre>
 <a href="mootcan.Mode.html#_top_">Mode</a> currentMode
</pre>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="CommandTextField"></a>
<a name="CommandTextField(java.awt.Font, int, java.util.Vector)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>CommandTextField</b>
<pre>
 CommandTextField(Font font,
                  int histSize,
                  Vector modes)
</pre>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="requestFocus()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="requestFocus"><b>requestFocus</b></a>
<pre>
 public void requestFocus()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Component.html#requestFocus()">requestFocus</a> in class Component
  </dl></dd>
</dl>
<a name="getInputStream()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getInputStream"><b>getInputStream</b></a>
<pre>
 public PipedInputStream getInputStream()
</pre>
<a name="sendIssuedCommand(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="sendIssuedCommand"><b>sendIssuedCommand</b></a>
<pre>
 private void sendIssuedCommand(String s)
</pre>
<a name="getIssuedCommand()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getIssuedCommand"><b>getIssuedCommand</b></a>
<pre>
 public String getIssuedCommand()
</pre>
<a name="clean()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="clean"><b>clean</b></a>
<pre>
 public void clean()
</pre>
<a name="cycleUp()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="cycleUp"><b>cycleUp</b></a>
<pre>
 private void cycleUp()
</pre>
<a name="cycleDown()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="cycleDown"><b>cycleDown</b></a>
<pre>
 private void cycleDown()
</pre>
<a name="issueCommand()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="issueCommand"><b>issueCommand</b></a>
<pre>
 private void issueCommand()
</pre>
<a name="keyUp(java.awt.Event, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="keyUp"><b>keyUp</b></a>
<pre>
 public boolean keyUp(Event event,
                      int keycode)
</pre>
<dl>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Component.html#keyUp(java.awt.Event, int)">keyUp</a> in class Component
  </dl></dd>
</dl>
<a name="keyDown(java.awt.Event, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="keyDown"><b>keyDown</b></a>
<pre>
 public boolean keyDown(Event event,
                        int keycode)
</pre>
<dl>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Component.html#keyDown(java.awt.Event, int)">keyDown</a> in class Component
  </dl></dd>
</dl>
<a name="setMode(mootcan.Mode)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setMode"><b>setMode</b></a>
<pre>
 public void setMode(<a href="mootcan.Mode.html#_top_">Mode</a> mode)
</pre>
<a name="setMode(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setMode"><b>setMode</b></a>
<pre>
 public void setMode(String smode)
</pre>
<a name="getMode()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getMode"><b>getMode</b></a>
<pre>
 public <a href="mootcan.Mode.html#_top_">Mode</a> getMode()
</pre>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-mootcan.html">This Package</a>  <a href="Package-mootcan.html">Previous</a>  <a href="Package-mootcan.html">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>

Site Stats

Snippets: 1791
Codebases: 571