net.aerith.misao.gui.dialog
Class ParameterDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.gui.dialog.ParameterDialog

public class ParameterDialog
extends Dialog

The ParameterDialog represents a dialog to intput the string parameter.


Field Summary
protected  javax.swing.JTextField text
          The text field to input the parameter.
protected  java.lang.String window_title
          The dialog window title.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
ParameterDialog()
          Constructs a ParameterDialog.
 
Method Summary
 java.lang.String getParameter()
          Gets the parameter.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
protected  void saveDefaultValues()
          Saves the default values.
 void setBorderTitle(java.lang.String title)
          Sets the border title.
protected  void setDefaultValues()
          Sets the default values.
 void setParameter(java.lang.String string)
          Sets the parameter.
 void setWindowTitle(java.lang.String title)
          Sets the window title.
 
Methods inherited from class net.aerith.misao.gui.dialog.Dialog
show
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

text

protected javax.swing.JTextField text
The text field to input the parameter.

window_title

protected java.lang.String window_title
The dialog window title.
Constructor Detail

ParameterDialog

public ParameterDialog()
Constructs a ParameterDialog.
Method Detail

getTitle

protected java.lang.String getTitle()
Gets the title of the dialog.
Overrides:
getTitle in class Dialog
Returns:
the title of the dialog.

setDefaultValues

protected void setDefaultValues()
Sets the default values.

saveDefaultValues

protected void saveDefaultValues()
Saves the default values.
Overrides:
saveDefaultValues in class Dialog

getParameter

public java.lang.String getParameter()
Gets the parameter.
Returns:
the parameter.

setParameter

public void setParameter(java.lang.String string)
Sets the parameter.
Parameters:
string - the parameter.

setWindowTitle

public void setWindowTitle(java.lang.String title)
Sets the window title.
Parameters:
title - the title.

setBorderTitle

public void setBorderTitle(java.lang.String title)
Sets the border title.
Parameters:
title - the title.