|
Scribble Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cs101.awt.ServerDialog
Manages a top level query dialog box to get port connection information. To display the dialog box, use ask(); to extract the port number, use getPort().
Relies heavily on QueryDialog.
Copyright (c) 1998 Massacuhsetts Institute of Technology
QueryDialog
,
ask()
,
getPort()
Field Summary | |
protected java.lang.String[] |
answers
|
protected QueryDialog |
qd
|
protected java.lang.String[] |
questions
|
Constructor Summary | |
ServerDialog()
Creates the dialog information. |
Method Summary | |
void |
ask()
Actually display the query dialog and get the answers from the user. |
int |
getPort()
Return the port number from the user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected QueryDialog qd
protected java.lang.String[] answers
protected java.lang.String[] questions
Constructor Detail |
public ServerDialog()
Method Detail |
public void ask()
getPort()
public int getPort()
ask()
|
Scribble Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |