    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

##

TextLabel()

##

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

##

TextLabel

      public TextLabel()

##

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

connect

      public void connect(String host,
                          int port)

  Do nothing upon connect.
  Parameters:
    host - remote hostaddress - not used
    port - remote port - not used

disconnect

      public void disconnect()

  Do nothing upon disconnecton.

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