public class StringComboBoxModel extends AbstractComboBoxModel<String>
StringComboBoxModel is an implementation of the abstract class
AbstractComboBoxModel for String values.comboList, selectedItemlistenerList| Constructor and Description |
|---|
StringComboBoxModel(List<String> comboList)
Instantiates a new
StringComboBoxModel from the given list |
StringComboBoxModel(List<String> comboList,
String selectedItem)
Instantiates a new
StringComboBoxModel from the given list and set as selected item
the given value |
StringComboBoxModel(String[] comboArray)
Instantiates a new
StringComboBoxModel from the given array |
StringComboBoxModel(String[] comboArray,
String selectedItem)
Instantiates a new
StringComboBoxModel from the given array and set as selected item
the given value |
actionPerformed, getElementAt, getSize, setComboSet, setSelectedItemaddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSelectedItemaddListDataListener, removeListDataListenerpublic StringComboBoxModel(List<String> comboList)
StringComboBoxModel from the given listcomboList - the combo listpublic StringComboBoxModel(List<String> comboList, String selectedItem)
StringComboBoxModel from the given list and set as selected item
the given valuecomboList - the combo listselectedItem - the selected itempublic StringComboBoxModel(String[] comboArray)
StringComboBoxModel from the given arraycomboArray - the combo arraypublic StringComboBoxModel(String[] comboArray, String selectedItem)
StringComboBoxModel from the given array and set as selected item
the given valuecomboArray - the combo arrayselectedItem - the selected itemCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.