All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.tinguin2.Text

java.lang.Object
   |
   +----netscape.application.View
           |
           +----netscape.application.TextField
                   |
                   +----semper.tinguin2.Text

public class Text
extends TextField
Constructs a TextField for use with a FreeDialog.

Version:
0.1
Author:
Christian Haag
See Also:
FreeDialog

Constructor Index

 o Text(String)
Creates a Text with the default font Helvetica 12, the background color lightGray and the text color black.
 o Text(String, Color, Color)
Creates a Text with the default font Helvetica 12, the background color bg and the text color fg.
 o Text(String, Color, Color, Font)
Creates a Text with the font f, the background color bg and the text color fg.
 o Text(String, Color, Color, int)
Creates a Text with the default font Helvetica with size fontsize, the background color bg and the text color fg.
 o Text(String, int)
Creates a Text with the default font Helvetica with size fontsize, the background color lightGray and the text color black.

Constructors

 o Text
 public Text(String text)
Creates a Text with the default font Helvetica 12, the background color lightGray and the text color black.

Parameters:
text - The text displayed
 o Text
 public Text(String text,
             int fontsize)
Creates a Text with the default font Helvetica with size fontsize, the background color lightGray and the text color black.

Parameters:
text - The text displayed
fontsize - The fontsize of Helvetica
 o Text
 public Text(String text,
             Color bg,
             Color fg)
Creates a Text with the default font Helvetica 12, the background color bg and the text color fg.

Parameters:
text - The text displayed
bg - The background color
fg - the text color
 o Text
 public Text(String text,
             Color bg,
             Color fg,
             int fontsize)
Creates a Text with the default font Helvetica with size fontsize, the background color bg and the text color fg.

Parameters:
text - The text displayed
bg - The background color
fg - the text color
fontsize - The fontsize of Helvetica
 o Text
 public Text(String text,
             Color bg,
             Color fg,
             Font f)
Creates a Text with the font f, the background color bg and the text color fg.

Parameters:
text - The text displayed
bg - The background color of the text
fg - The text color the the text
f - The font of the text

All Packages  Class Hierarchy  This Package  Previous  Next  Index