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, resetToDefault
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
measureByteSize
public void setValue(String v)
public String getValue()
public String getDefaultCLIString()
Option
public String getValueAsCLIString()
Option
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.