phrase nets
|
Inherits Dialog.
Classes | |
class | DialogListener |
Public Member Functions | |
TextInputDialog (Frame owner, String title, String txtLabel, String btnLabel) | |
boolean | pressedButton () |
String | getText () |
void | setText (String text) |
Simple dialog with one textfield input.
pn::awt::TextInputDialog::TextInputDialog | ( | Frame | owner, |
String | title, | ||
String | txtLabel, | ||
String | btnLabel | ||
) | [inline] |
Ctor.
owner | The owner of this dialog. Must not be null |
title | The title of this window. Must not be null |
txtLabel | The label of the textfield. Must not be null |
btnLabel | The label of the button. Must not be null |
String pn::awt::TextInputDialog::getText | ( | ) | [inline] |
boolean pn::awt::TextInputDialog::pressedButton | ( | ) | [inline] |
void pn::awt::TextInputDialog::setText | ( | String | text | ) | [inline] |
Sets the content of the textfield.
text | The new content |