All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.samples.showtext.ShowText

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----netscape.samples.showtext.ShowText

public class ShowText
extends Applet
Note: Images may be missing from the JavaDocs generated.

Do not be alarmed: this is intentional and should not impact the usability of the JavaDocs as a reference.


Variable Index

 o message
The string which stores the message to be displayed by the Applet/Bean

Constructor Index

 o ShowText()

Method Index

 o getMessage()
getMessage is the "getter" method for the message property
 o init()
Initializes the Applet / Bean with properties from PARAM tags to support HTML Serialization model -- thus getting the initial values from HTML instead of from a .ser file.
 o paint(Graphics)
Paints the message string with a dark-gray drop shadow
 o setMessage(String)
setMessage is the setter method for the message property -- defaults to "Netscape" if null is passed.

Variables

 o message
 public String message
The string which stores the message to be displayed by the Applet/Bean

Constructors

 o ShowText
 public ShowText()

Methods

 o init
 public void init()
Initializes the Applet / Bean with properties from PARAM tags to support HTML Serialization model -- thus getting the initial values from HTML instead of from a .ser file.

Overrides:
init in class Applet
 o paint
 public void paint(Graphics g)
Paints the message string with a dark-gray drop shadow

Overrides:
paint in class Container
See Also:
setMessage
 o getMessage
 public String getMessage()
getMessage is the "getter" method for the message property

 o setMessage
 public void setMessage(String newVal)
setMessage is the setter method for the message property -- defaults to "Netscape" if null is passed.

Sets message and forces a repaint.


All Packages  Class Hierarchy  This Package  Previous  Next  Index