modules.TextLabel.html
dw_fluffos_v1/lib/www/external/java/telnet/Documentation/Source/modules.TextLabel.html · 5.4 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 modules.TextLabel
</title>
</head>
<body>
<pre>
<a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-modules.html">This Package</a> <a href="modules.Script.html#_top_">Previous</a> <a href="Package-modules.html">Next</a> <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
Class modules.TextLabel
</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>
|
+----modules.TextLabel
</pre>
<hr>
<dl>
<dt> public class <b>TextLabel</b>
<dt> extends <a href="java.awt.Panel.html#_top_">Panel</a>
<dt> implements <a href="modules.Module.html#_top_">Module</a>
</dl>
This small module lets you display text somewhere in the applets area.
<DL>
<DT><B>Label:</B>
<DD><PRE><PARAM NAME=labelRows VALUE="<B><I>rows</B></I>"></PRE>
<DD>Defines the how many rows the label will have.
<DD><PRE><PARAM NAME=labelCols VALUE="<B><I>cols</B></I>"></PRE>
<DD>Defines the how many columns the label will have.
<DD><PRE><PARAM NAME=labelFont VALUE="<B><I>font[,size]</B></I>"></PRE>
<DD>The font for displaying the label text. If the <I>size</I> is left out
a standard size of 14 points is assumed.
<DD><PRE><PARAM NAME=label#<I>number</I> VALUE="<B><I>text</I></B>"></PRE>
<DT>The labels are enumerated and displayed in rows and columns.
</DL>
<dl>
<dt> <b>Version:</b>
<dd> $Id: TextLabel.java,v 1.1 1997/07/09 20:12:05 leo Exp $
<dt> <b>Author:</b>
<dd> Matthias L. Jugel, Marcus Meißner
<dt> <b>See Also:</b>
<dd> <a href="modules.Module.html#_top_">Module</a>
</dl>
<hr>
<a name="index"></a>
<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="#TextLabel()"><b>TextLabel</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="#connect(java.lang.String, int)"><b>connect</b></a>(String, int)
<dd> Do nothing upon connect.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#disconnect()"><b>disconnect</b></a>()
<dd> Do nothing upon disconnecton.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#receive(java.lang.String)"><b>receive</b></a>(String)
<dd> Do nothing when receiving text.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#setLoader(java.lang.Object)"><b>setLoader</b></a>(Object)
<dd> Set the applet as module loader and configure.
</dl>
<a name="constructors"></a>
<h2>
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="TextLabel"></a>
<a name="TextLabel()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>TextLabel</b>
<pre>
public TextLabel()
</pre>
<a name="methods"></a>
<h2>
<img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="setLoader(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setLoader"><b>setLoader</b></a>
<pre>
public void setLoader(<a href="java.lang.Object.html#_top_">Object</a> o)
</pre>
<dl>
<dd> Set the applet as module loader and configure.
<dl>
<dt> <b>Parameters:</b>
<dd> o - the object that is the applet (must be an Applet)
<dt> <b>See Also:</b>
<dd> <a href="module.Module.html#_top_">Module</a>, <a href="java.applet.Applet.html#_top_">Applet</a>
</dl>
</dl>
<a name="connect(java.lang.String, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="connect"><b>connect</b></a>
<pre>
public void connect(<a href="java.lang.String.html#_top_">String</a> host,
int port)
</pre>
<dl>
<dd> Do nothing upon connect.
<dl>
<dt> <b>Parameters:</b>
<dd> host - remote hostaddress - not used
<dd> port - remote port - not used
</dl>
</dl>
<a name="disconnect()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="disconnect"><b>disconnect</b></a>
<pre>
public void disconnect()
</pre>
<dl>
<dd> Do nothing upon disconnecton.
</dl>
<a name="receive(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="receive"><b>receive</b></a>
<pre>
public <a href="java.lang.String.html#_top_">String</a> receive(<a href="java.lang.String.html#_top_">String</a> s)
</pre>
<dl>
<dd> Do nothing when receiving text. Be removed upon first call.
<dl>
<dt> <b>Parameters:</b>
<dd> s - The string received.
<dt> <b>See Also:</b>
<dd> <a href="peer.InputPeer.html#_top_">InputPeer</a>
</dl>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-modules.html">This Package</a> <a href="modules.Script.html#_top_">Previous</a> <a href="Package-modules.html">Next</a> <a href="AllNames.html">Index</a></pre>
</body>
</html>