public class StringOption extends AbstractOption
| Modifier and Type | Field and Description |
|---|---|
protected String |
currentVal |
protected String |
defaultVal |
cliChar, illegalNameCharacters, name, purpose| Constructor and Description |
|---|
StringOption(String name,
char cliChar,
String purpose,
String defaultVal) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultCLIString()
Gets the Command Line Interface text
|
String |
getValue() |
String |
getValueAsCLIString()
Gets the value of a Command Line Interface text as a string
|
void |
setValue(String v) |
void |
setValueViaCLIString(String s)
Sets value of this option via the Command Line Interface text
|
copy, getCLIChar, getDescription, getEditComponent, getName, getPurpose, getStateString, nameIsLegal, resetToDefaultcopy, measureByteSize, measureByteSize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmeasureByteSizepublic void setValue(String v)
public String getValue()
public String getDefaultCLIString()
Optionpublic String getValueAsCLIString()
OptionCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.