|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Option
An Option chosen by the user of the program. In the XML declaration file it is defined using the <Option>-tag.
| Method Summary | |
|---|---|
java.lang.String[] |
getChoices()
Returns default values. |
boolean |
getFreeChoice()
Returns true iff the user can enter arbitrary values for
this option rather than only what is returned by getChoices(). |
java.lang.Class |
getType()
Returns a Class indicating the type of the option. |
java.lang.String |
getValue()
Returns the String representation of the option. |
| Method Detail |
|---|
java.lang.String getValue()
String representation of the option.
String representation of the option.java.lang.Class getType()
Class indicating the type of the option.
Typically, this method is not used by clients of this library. Maybe
it will be removed in the beta version.
java.lang.String[] getChoices()
boolean getFreeChoice()
true iff the user can enter arbitrary values for
this option rather than only what is returned by getChoices().
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||