public class ComboBoxOption
extends java.lang.Object
Constructor and Description |
---|
ComboBoxOption(java.lang.String optionText,
java.lang.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.
|
java.lang.String |
getCommandLineText()
Gets the command-line text.
|
java.lang.String |
getOptionText()
Gets the option text.
|
void |
setCommandLineText(java.lang.String commandLineText)
Sets the command-line text.
|
void |
setOptionText(java.lang.String optionText)
Sets the option text.
|
public ComboBoxOption(java.lang.String optionText, java.lang.String commandLineText)
public void setOptionText(java.lang.String optionText)
optionText
- Text displayed on the combo box option.public java.lang.String getOptionText()
public void setCommandLineText(java.lang.String commandLineText)
commandLineText
- Text that would be written to the command line.public java.lang.String getCommandLineText()
public ComboBoxOption copy()