phrase nets
Classes | Public Member Functions
pn::awt::TextInputDialog Class Reference

Inherits Dialog.

List of all members.

Classes

class  DialogListener

Public Member Functions

 TextInputDialog (Frame owner, String title, String txtLabel, String btnLabel)
boolean pressedButton ()
String getText ()
void setText (String text)

Detailed Description

Simple dialog with one textfield input.


Constructor & Destructor Documentation

pn::awt::TextInputDialog::TextInputDialog ( Frame  owner,
String  title,
String  txtLabel,
String  btnLabel 
) [inline]

Ctor.

Parameters:
ownerThe owner of this dialog. Must not be null
titleThe title of this window. Must not be null
txtLabelThe label of the textfield. Must not be null
btnLabelThe label of the button. Must not be null

Member Function Documentation

String pn::awt::TextInputDialog::getText ( ) [inline]
Returns:
The content of the textfield
boolean pn::awt::TextInputDialog::pressedButton ( ) [inline]
Returns:
Whether the user pressed the button
void pn::awt::TextInputDialog::setText ( String  text) [inline]

Sets the content of the textfield.

Parameters:
textThe new content

The documentation for this class was generated from the following file:
 All Classes Functions Variables