All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class ORG.opengroup.awt.MsgFieldDialog

java.lang.Object
    |
    +----java.awt.Component
            |
            +----java.awt.Container
                    |
                    +----java.awt.Window
                            |
                            +----java.awt.Dialog
                                    |
                                    +----ORG.opengroup.awt.ButtonDialog
                                            |
                                            +----ORG.opengroup.awt.TextAreaDialog
                                                    |
                                                    +----ORG.opengroup.awt.MsgFieldDialog

public class MsgFieldDialog
extends TextAreaDialog
A Dialog which displays a row of buttons below a text area and a text field.


Constructor Index

 o MsgFieldDialog(Frame, String, int, int, String, String, int, int, String)
Construct the dialog.

Method Index

 o getText()
Returns the current value of the text field.

Constructors

 o MsgFieldDialog
public MsgFieldDialog(Frame parent,
                      String title,
                      int x,
                      int y,
                      String txt,
                      String init,
                      int col,
                      int sel,
                      String buttonLabels)
Construct the dialog. To allow subclassing, show() is not called.

Parameters:
parent - The parent frame.
title - Window title.
x - x-location of the dialog.
y - y-location of the dialog.
txt - Text used to initialized the text area.
init - Text used to initialized the text field.
col - Width of text field.
sel - Selection to be returned by the text field.
buttonLabels - Button labels, one button per line.

Methods

 o getText
public String getText()
Returns the current value of the text field.


All Packages  Class Hierarchy  This Package  Previous  Next  Index