|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--TObject | +--TDlg
Type Dialog:
Class TDlg
encapsulates the TI-BASIC dialog function.
Field Summary | |
boolean |
answer
The user's answer. |
java.lang.String |
caption
The window's title. |
int |
dimension
The number of lines displayed. |
java.lang.String[] |
message
The text displayed in the window. |
Constructor Summary | |
TDlg()
Instanciates a new Type Dialog. |
|
TDlg(java.lang.String caption)
Instanciates a new Type Dialog. |
|
TDlg(java.lang.String caption,
java.lang.String[] message)
Instanciates a new Type Dialog. |
Method Summary | |
boolean |
getAnswer()
Returns true if the user answered yes. |
java.lang.String |
getCaption()
Returns the dialog's title. |
int |
getDimension()
Returns the dimension of the dialog. |
java.lang.String[] |
getMessage()
Returns the dialog's message. |
void |
setCaption(java.lang.String caption)
Sets the dialog's title. |
void |
setDimension(int dimension)
Sets the dimension of the dialog. |
void |
setMessage(java.lang.String[] message)
Sets the dialog's message. |
void |
showModal()
Shows the dialog. |
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 |
public java.lang.String caption
public int dimension
public java.lang.String[] message
public boolean answer
Constructor Detail |
public TDlg()
public TDlg(java.lang.String caption)
public TDlg(java.lang.String caption, java.lang.String[] message)
caption
- The window's title.message
- The text displayed in the window.Method Detail |
public void setCaption(java.lang.String caption)
caption
- The window's title.public void setMessage(java.lang.String[] message)
message
- The text displayed in the window.public void setDimension(int dimension)
public int getDimension()
public java.lang.String[] getMessage()
public java.lang.String getCaption()
public boolean getAnswer()
public void showModal()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |