display.vt320.html

dw_fluffos_v1/lib/www/external/java/telnet/Documentation/Source/display.vt320.html · 14.9 KB

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Mon Feb 23 10:46:39 CET 1998 -->
<a name="_top_"></a>
<title>
  Class display.vt320
</title>
</head>
<body>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-display.html">This Package</a>  <a href="display.Terminal.html#_top_">Previous</a>  <a href="Package-display.html">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class display.vt320
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.awt.Component.html#_top_">java.awt.Component</a>
           |
           +----<a href="java.awt.Container.html#_top_">java.awt.Container</a>
                   |
                   +----<a href="java.awt.Panel.html#_top_">java.awt.Panel</a>
                           |
                           +----<a href="display.Terminal.html#_top_">display.Terminal</a>
                                   |
                                   +----display.vt320
</pre>
<hr>
<dl>
  <dt> public class <b>vt320</b>
  <dt> extends <a href="display.Terminal.html#_top_">Terminal</a>
  <dt> implements <a href="display.TerminalHost.html#_top_">TerminalHost</a>
</dl>
A DEC VT320 Terminal Emulation (includes VT100/220 and ANSI).
The terminal emulation accesses the applet parameters to configure itself.
The following parameters may be set. Default values are written in
<I>italics</I> and other possible values are <B>bold</B>.
<DL>
 <DT><TT>&lt;PARAM NAME="Fx" VALUE="<I>functionkeytext</I>"&gt</TT>
 <DD>Sets the string sent when the function key Fx (x between 1 und 20)
	is pressed.
 <DT><TT>&lt;PARAM NAME="VTcolumns" VALUE="<I>80</I>"&gt</TT>
 <DD>Sets the columns of the terminal initially. If the parameter
     VTresize is set to <B>screen</B> this may change, else it is fixed.
 <DT><TT>&lt;PARAM NAME="VTrows" VALUE="<I>24</I>"&gt</TT>
 <DD>Sets the rows of the terminal initially. If the parameter
     value of VTresize <B>screen</B> this may change!
 <DT><TT>&lt;PARAM NAME="VTfont" VALUE="<I>Courier</I>"&gt</TT>
 <DD>Sets the font to be used for the terminal. It is recommended to
     use <I>Courier</I> or at least a fixed width font.
 <DT><TT>&lt;PARAM NAME="VTfontsize" VALUE="<I>14</I>"&gt</TT>
 <DD>Sets the font size for the terminal. If the parameter
     value of VTresize is set to <B>font</B> this may change!
 <DT><TT>&lt;PARAM NAME="VTresize" VALUE="<I>font</I>"&gt</TT>
 <DD>This parameter determines what the terminal should do if the window
     is resized. The default setting <I><B>font</B></I> will result in
     resizing the font until is matches the window best. Other possible
     values are <B>none</B> or <B>screen</B>. <B>none</B> will let nothing
     happen and <B>screen</B> will let the display try to change the
     amount of rows and columns to match the window best.
 <DT><TT>&lt;PARAM NAME="VTscrollbar" VALUE="<I>false</I>"&gt</TT>
 <DD>Setting this parameter to <B>true</B> will add a scrollbar west to
     the terminal. Other possible values include <B>left</B> to put the
     scrollbar on the left side of the terminal and <B>right</B> to put it
     explicitely to the right side.
 <DT><TT>&lt;PARAM NAME="VTid" VALUE="<I>vt320</I>"&gt</TT>
 <DD>This parameter will override the terminal id <I>vt320</I>. It may
     be used to determine special terminal abilities of VT Terminals.
 <DT><TT>&lt;PARAM NAME="VTbuffer" VALUE="<I>xx</I>"&gt</TT>
 <DD>Initially this parameter is the same as the VTrows parameter. It
     cannot be less than the amount of rows on the display. It determines
     the available scrollback buffer.
 <DT><TT>&lt;PARAM NAME="VTcharset" VALUE="<I>none</I>"&gt</TT>
 <DD>Setting this parameter to <B>ibm</B> will enable mapping of ibm
     characters (as used in PC BBS systems) to UNICODE characters. Note
     that those special characters probably won't show on UNIX systems
     due to lack in X11 UNICODE support.
 <DT><TT>&lt;PARAM NAME="VTvms" VALUE="<I>false</I>"&gt</TT>
 <DD>Setting this parameter to <B>true</B> will change the Backspace key
     into a delete key, cause the numeric keypad keys to emit VT100
     codes when Ctrl is pressed, and make other VMS-important keyboard
     definitions.
 <DT><TT>&lt;PARAM NAME="F<I>nr</I>" VALUE="<I>string</I>"&gt</TT>
 <DD>Function keys from <I>F1</I> to <I>F20</I> are programmable. You can
     install any possible string including special characters, such as 
     <TABLE BORDER>
     <TR><TD><TT>\e</TT></TD><TD>Escape</TD>
     <TR><TD><TT>\b</TT></TD><TD>Backspace</TD>
     <TR><TD><TT>\n</TT></TD><TD>Newline</TD>
     <TR><TD><TT>\r</TT></TD><TD>Return</TD>
     </TABLE>
</DL>
<dl>
  <dt> <b>Version:</b>
  <dd> $Id: vt320.java,v 1.52 1998/02/17 13:11:44 marcus Exp $
  <dt> <b>Author:</b>
  <dd> Matthias L. Jugel, Marcus Meißner
</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="#INSERT"><b>INSERT</b></a>
  <dd> The Insert key.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEYCAPS_LOCK"><b>KEYCAPS_LOCK</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEYINSERT"><b>KEYINSERT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEYNUM_LOCK"><b>KEYNUM_LOCK</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEYPAUSE"><b>KEYPAUSE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEYPRINT_SCREEN"><b>KEYPRINT_SCREEN</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEYSCROLL_LOCK"><b>KEYSCROLL_LOCK</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#unimap"><b>unimap</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="#vt320()"><b>vt320</b></a>()
  <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="#addNotify()"><b>addNotify</b></a>()
  <dd> Initialize terminal.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getParameterInfo()"><b>getParameterInfo</b></a>()
  <dd> Get the specific parameter info for the emulation.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getSize()"><b>getSize</b></a>()
  <dd> Return the current size of the terminal in characters.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getTerminalType()"><b>getTerminalType</b></a>()
  <dd> Return actual terminal type identifier.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#handleEvent(java.awt.Event)"><b>handleEvent</b></a>(Event)
  <dd> Handle events for the terminal.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#map_cp850_unicode(char)"><b>map_cp850_unicode</b></a>(char)
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#putChar(char)"><b>putChar</b></a>(char)
  <dd> Put a character on the screen.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#putChar(char, boolean)"><b>putChar</b></a>(char, boolean)
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#putString(java.lang.String)"><b>putString</b></a>(String)
  <dd> Put String at current cursor position.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#send(java.lang.String)"><b>send</b></a>(String)
  <dd> Dummy method to handle input events (String).
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#toString()"><b>toString</b></a>()
  <dd> Return the version of the terminal emulation and its display.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="KEYPRINT_SCREEN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEYPRINT_SCREEN</b>
<pre>
  public final static int KEYPRINT_SCREEN
</pre>
<a name="KEYSCROLL_LOCK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEYSCROLL_LOCK</b>
<pre>
  public final static int KEYSCROLL_LOCK
</pre>
<a name="KEYCAPS_LOCK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEYCAPS_LOCK</b>
<pre>
  public final static int KEYCAPS_LOCK
</pre>
<a name="KEYNUM_LOCK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEYNUM_LOCK</b>
<pre>
  public final static int KEYNUM_LOCK
</pre>
<a name="KEYPAUSE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEYPAUSE</b>
<pre>
  public final static int KEYPAUSE
</pre>
<a name="KEYINSERT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEYINSERT</b>
<pre>
  public final static int KEYINSERT
</pre>
<a name="INSERT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>INSERT</b>
<pre>
  public final static int INSERT
</pre>
<dl>
  <dd> The Insert key.
</dl>
<a name="unimap"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>unimap</b>
<pre>
  public final static char unimap[]
</pre>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="vt320"></a>
<a name="vt320()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>vt320</b>
<pre>
  public vt320()
</pre>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<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> Return the version of the terminal emulation and its display.
  <dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Component.html#toString()">toString</a> in class <a href="java.awt.Component.html#_top_">Component</a>
  </dl>
</dl>
<a name="getParameterInfo()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getParameterInfo"><b>getParameterInfo</b></a>
<pre>
  public <a href="java.lang.String.html#_top_">String</a>[][] getParameterInfo()
</pre>
<dl>
  <dd> Get the specific parameter info for the emulation.
  <dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="display.Terminal.html#getParameterInfo()">getParameterInfo</a> in class <a href="display.Terminal.html#_top_">Terminal</a>
  </dl>
</dl>
<a name="addNotify()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="addNotify"><b>addNotify</b></a>
<pre>
  public void addNotify()
</pre>
<dl>
  <dd> Initialize terminal.
  <dl>
    <dt> <b>Parameters:</b>
    <dd> parent - the applet parent where to get parameters from
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Panel.html#addNotify()">addNotify</a> in class <a href="java.awt.Panel.html#_top_">Panel</a>
    <dt> <b>See Also:</b>
    <dd> <a href="display.Terminal.html#_top_">Terminal</a>
  </dl>
</dl>
<a name="getSize()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getSize"><b>getSize</b></a>
<pre>
  public <a href="java.awt.Dimension.html#_top_">Dimension</a> getSize()
</pre>
<dl>
  <dd> Return the current size of the terminal in characters.
  <dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="display.Terminal.html#getSize()">getSize</a> in class <a href="display.Terminal.html#_top_">Terminal</a>
  </dl>
</dl>
<a name="getTerminalType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getTerminalType"><b>getTerminalType</b></a>
<pre>
  public <a href="java.lang.String.html#_top_">String</a> getTerminalType()
</pre>
<dl>
  <dd> Return actual terminal type identifier.
  <dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="display.Terminal.html#getTerminalType()">getTerminalType</a> in class <a href="display.Terminal.html#_top_">Terminal</a>
  </dl>
</dl>
<a name="handleEvent(java.awt.Event)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="handleEvent"><b>handleEvent</b></a>
<pre>
  public boolean handleEvent(<a href="java.awt.Event.html#_top_">Event</a> evt)
</pre>
<dl>
  <dd> Handle events for the terminal. Only accept events for the scroll
bar. Any other events have to be propagated to the parent.
  <dl>
    <dt> <b>Parameters:</b>
    <dd> evt - the event
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Component.html#handleEvent(java.awt.Event)">handleEvent</a> in class <a href="java.awt.Component.html#_top_">Component</a>
  </dl>
</dl>
<a name="send(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="send"><b>send</b></a>
<pre>
  public boolean send(<a href="java.lang.String.html#_top_">String</a> s)
</pre>
<dl>
  <dd> Dummy method to handle input events (String).
This is only needed if our parent is not TerminalHost
  <dl>
    <dt> <b>Parameters:</b>
    <dd> s - String to handle
    <dt> <b>Returns:</b>
    <dd> always true
    <dt> <b>See Also:</b>
    <dd> <a href="display.TerminalHost.html#_top_">TerminalHost</a>
  </dl>
</dl>
<a name="putString(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="putString"><b>putString</b></a>
<pre>
  public void putString(<a href="java.lang.String.html#_top_">String</a> s)
</pre>
<dl>
  <dd> Put String at current cursor position. Moves cursor
according to the String. Does NOT wrap.
  <dl>
    <dt> <b>Parameters:</b>
    <dd> s - the string
    <dt> <b>Overrides:</b>
    <dd> <a href="display.Terminal.html#putString(java.lang.String)">putString</a> in class <a href="display.Terminal.html#_top_">Terminal</a>
  </dl>
</dl>
<a name="putChar(char)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="putChar"><b>putChar</b></a>
<pre>
  public void putChar(char c)
</pre>
<dl>
  <dd> Put a character on the screen.
  <dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="display.Terminal.html#putChar(char)">putChar</a> in class <a href="display.Terminal.html#_top_">Terminal</a>
  </dl>
</dl>
<a name="map_cp850_unicode(char)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="map_cp850_unicode"><b>map_cp850_unicode</b></a>
<pre>
  public char map_cp850_unicode(char x)
</pre>
<a name="putChar(char, boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="putChar"><b>putChar</b></a>
<pre>
  public void putChar(char c,
                      boolean doshowcursor)
</pre>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-display.html">This Package</a>  <a href="display.Terminal.html#_top_">Previous</a>  <a href="Package-display.html">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>

Site Stats

Snippets: 1791
Codebases: 571