public interface Option extends MOAObject
Modifier and Type | Method and Description |
---|---|
Option |
copy()
Gets a copy of this option
|
char |
getCLIChar()
Gets the Command Line Interface text of this option
|
String |
getDefaultCLIString()
Gets the Command Line Interface text
|
JComponent |
getEditComponent()
Gets the GUI component to edit
|
String |
getName()
Gets the name of this option
|
String |
getPurpose()
Gets the purpose of this option
|
String |
getStateString()
Gets the state of this option in human readable form
|
String |
getValueAsCLIString()
Gets the value of a Command Line Interface text as a string
|
void |
resetToDefault()
Resets this option to the default value
|
void |
setValueViaCLIString(String s)
Sets value of this option via the Command Line Interface text
|
getDescription, measureByteSize
String getName()
char getCLIChar()
String getPurpose()
String getDefaultCLIString()
void setValueViaCLIString(String s)
s
- the Command Line Interface textString getValueAsCLIString()
void resetToDefault()
String getStateString()
Option copy()
JComponent getEditComponent()
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.