[]
Each item has a value and a text. The text is displayed in the combo box dropdown, while the value is stored in the underlying data model. Items are added to a ComboBoxCellType via ComboBoxCellType.getItems().
ComboBoxCellItem item = new ComboBoxCellItem();
item.setValue("US");
item.setText("United States");
ComboBoxCellType cellType = new ComboBoxCellType();
cellType.getItems().add(item);
worksheet.getRange("A1").setCellType(cellType);
ComboBoxCellItem item = new ComboBoxCellItem();
item.setValue("US");
Object value = item.getValue();
ComboBoxCellItem item = new ComboBoxCellItem();
item.setValue("US");
value - The value of the item.
ComboBoxCellItem item = new ComboBoxCellItem();
item.setText("United States");
String text = item.getText();
ComboBoxCellItem item = new ComboBoxCellItem();
item.setText("United States");
text - The text of the item.