Class TInput

java.lang.Object
  |
  +--TObject
        |
        +--TDlg
              |
              +--TInput

public class TInput
extends TDlg

Type InputDialog: Class TInput encapsulates the TI-BASIC dialog/request functions.

Since:
Release 2

Field Summary
 java.lang.String question
          The dialog's question.
 
Fields inherited from class TDlg
answer, caption, dimension, message
 
Constructor Summary
TInput()
          Instanciates a new Type InputDialog.
TInput(java.lang.String caption)
          Instanciates a new Type InputDialog.
TInput(java.lang.String caption, java.lang.String[] message)
          Instanciates a new Type InputDialog.
 
Method Summary
 java.lang.String getQuestion()
          Returns the dialog's question.
 void setQuestion(java.lang.String question)
          Sets the dialog's question.
 java.lang.String showModal()
          Returns the user's input.
 
Methods inherited from class TDlg
getAnswer, getCaption, getDimension, getMessage, setCaption, setDimension, setMessage
 
Methods inherited from class TObject
clone, Destroy, equals, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

question

public java.lang.String question
The dialog's question.

Constructor Detail

TInput

public TInput()
Instanciates a new Type InputDialog.

Since:
Release 2

TInput

public TInput(java.lang.String caption)
Instanciates a new Type InputDialog.

Parameters:
caption - The window title.
Since:
Release 2

TInput

public TInput(java.lang.String caption,
              java.lang.String[] message)
Instanciates a new Type InputDialog.

Parameters:
caption - The window's title.
message - The text displayed in the window.
Since:
Release 2
Method Detail

setQuestion

public void setQuestion(java.lang.String question)
Sets the dialog's question.

Parameters:
question - The dialog's question.
Since:
Release 2

getQuestion

public java.lang.String getQuestion()
Returns the dialog's question.

Returns:
question: The dialog's question.
Since:
Release 2

showModal

public java.lang.String showModal()
Returns the user's input.

Overrides:
showModal in class TDlg
Returns:
input: The user's input.
Since:
Release 2