public class ComboBoxChoice extends Object implements InputType
| Modifier and Type | Field and Description |
|---|---|
protected WideComboBox |
comp |
| Constructor and Description |
|---|
ComboBoxChoice(String... choices) |
ComboBoxChoice(String[] ids,
String[] texts) |
| Modifier and Type | Method and Description |
|---|---|
JComboBox |
getComboBox() |
Component |
getComponent()
Gets the
Component that will be used to retrieve the inputs
from the user. |
String |
getValue()
Gets the value currently stored in this
InputType instance. |
void |
setValue(String value)
Sets the value stored in this
InputType to value. |
protected WideComboBox comp
public ComboBoxChoice(String... choices)
public Component getComponent()
InputTypeComponent that will be used to retrieve the inputs
from the user.getComponent in interface InputTypepublic String getValue()
InputTypeInputType instance.public void setValue(String value)
InputTypeInputType to value.public JComboBox getComboBox()
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.