fable.gui.dialog
Class SimpleDialog

java.lang.Object
  extended by Dialog
      extended by fable.gui.dialog.SimpleDialog

public class SimpleDialog
extends Dialog

Simple dialog box asks user to input a string.

Author:
Wonsik Kim

Method Summary
static java.lang.String showSimpleDialog(Shell parent, java.lang.String labelText, java.lang.String title)
          Shows a simple dialog and return the input string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showSimpleDialog

public static java.lang.String showSimpleDialog(Shell parent,
                                                java.lang.String labelText,
                                                java.lang.String title)
Shows a simple dialog and return the input string.

Parameters:
parent - parent shell of the dialog box.
labelText - label of the field.
title - title of the dialog box.
Returns:
string that user input.
Requires:
parent != null, labelText != null, title != null.