Class modules.TextLabel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class modules.TextLabel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----modules.TextLabel

public class TextLabel
extends Panel
implements Module
This small module lets you display text somewhere in the applets area.
Label:
<PARAM NAME=labelRows    VALUE="rows">
Defines the how many rows the label will have.
<PARAM NAME=labelCols    VALUE="cols">
Defines the how many columns the label will have.
<PARAM NAME=labelFont    VALUE="font[,size]">
The font for displaying the label text. If the size is left out a standard size of 14 points is assumed.
<PARAM NAME=label#number VALUE="text">
The labels are enumerated and displayed in rows and columns.
Version:
$Id: TextLabel.java,v 1.1 1997/07/09 20:12:05 leo Exp $
Author:
Matthias L. Jugel, Marcus Mei▀ner
See Also:
Module

Constructor Index

 o TextLabel()

Method Index

 o connect(String, int)
Do nothing upon connect.
 o disconnect()
Do nothing upon disconnecton.
 o receive(String)
Do nothing when receiving text.
 o setLoader(Object)
Set the applet as module loader and configure.

Constructors

 o TextLabel
  public TextLabel()

Methods

 o setLoader
  public void setLoader(Object o)
Set the applet as module loader and configure.
Parameters:
o - the object that is the applet (must be an Applet)
See Also:
Module, Applet
 o connect
  public void connect(String host,
                      int port)
Do nothing upon connect.
Parameters:
host - remote hostaddress - not used
port - remote port - not used
 o disconnect
  public void disconnect()
Do nothing upon disconnecton.
 o receive
  public String receive(String s)
Do nothing when receiving text. Be removed upon first call.
Parameters:
s - The string received.
See Also:
InputPeer

All Packages  Class Hierarchy  This Package  Previous  Next  Index