|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectUI
public class UI
UI class handles most of the user interaction (input/output).
Field Summary | |
---|---|
private DocumentList |
list
maintains a reference to the DocumentList object for convenience. |
Constructor Summary | |
---|---|
UI(DocumentList list)
Constructor accepts a reference to the DocumentList. |
Method Summary | |
---|---|
int |
getChoice()
Primary method that prompts for a selection from the user and returns the selection. |
java.lang.String |
getPattern()
Method called if selection is 3. |
UploadInfo |
getUploadInfo()
Method called if selection is 4. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private DocumentList list
Constructor Detail |
---|
public UI(DocumentList list)
list
- Method Detail |
---|
public int getChoice()
public java.lang.String getPattern()
public UploadInfo getUploadInfo()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |