| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--org.apache.tools.ant.input.InputRequest
        |
        +--org.apache.tools.ant.input.MultipleChoiceInputRequest
Encapsulates an input request.
| Constructor Summary | |
| MultipleChoiceInputRequest(java.lang.String prompt,
                           java.util.Vector choices) | |
| Method Summary | |
|  java.util.Vector | getChoices() | 
|  boolean | isInputValid()Is the user input valid? | 
| Methods inherited from class org.apache.tools.ant.input.InputRequest | 
| getInput, getPrompt, setInput | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public MultipleChoiceInputRequest(java.lang.String prompt,
                                  java.util.Vector choices)
prompt - The prompt to show to the user.  Must not be null.choices - holds all input values that are allowed.
                Must not be null.| Method Detail | 
public java.util.Vector getChoices()
public boolean isInputValid()
InputRequest
isInputValid in class InputRequest| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||