public class ComboBoxOption extends Object
Constructor and Description |
---|
ComboBoxOption(String optionText,
String commandLineText)
Constructor setting the text to be displayed in the combo box and the text
that would be written to the cmomand line.
|
Modifier and Type | Method and Description |
---|---|
ComboBoxOption |
copy()
Copies this combo box option to another combo box option.
|
String |
getCommandLineText()
Gets the command-line text.
|
String |
getOptionText()
Gets the option text.
|
void |
setCommandLineText(String commandLineText)
Sets the command-line text.
|
void |
setOptionText(String optionText)
Sets the option text.
|
public void setOptionText(String optionText)
optionText
- Text displayed on the combo box option.public String getOptionText()
public void setCommandLineText(String commandLineText)
commandLineText
- Text that would be written to the command line.public String getCommandLineText()
public ComboBoxOption copy()