| javax.swing.JDialog jimm.datavision.gui.AskStringDialog
AskStringDialog | public class AskStringDialog extends JDialog implements ActionListener(Code) | | A modal dialog used to ask the user for a simple string like a
formula or parameter name.
author: Jim Menard, jimm@io.com |
TEXT_FIELD_COLUMNS | final protected static int TEXT_FIELD_COLUMNS(Code) | | |
AskStringDialog | public AskStringDialog(java.awt.Frame frame, String title, String label)(Code) | | Constructor.
Parameters: frame - parent frame Parameters: title - window title Parameters: label - string field label |
AskStringDialog | public AskStringDialog(java.awt.Frame frame, String title, String label, String initialString)(Code) | | Constructor.
Parameters: frame - parent frame Parameters: title - window title Parameters: label - string field label Parameters: initialString - initial string value |
actionPerformed | public void actionPerformed(ActionEvent e)(Code) | | Handles the buttons.
Parameters: e - action event |
buildWindow | protected void buildWindow(String title, String labelString, String initialString)(Code) | | Builds window GUI.
Parameters: title - window title Parameters: labelString - string field label Parameters: initialString - initial value of string |
getString | public String getString()(Code) | | Returns string (or null if user hit Cancel).
string (or null if user cancelled) |
|
|