public class StaticTextComboBoxModel extends AbstractListModel implements ComboBoxModel
listenerList
Constructor and Description |
---|
StaticTextComboBoxModel() |
Modifier and Type | Method and Description |
---|---|
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
int |
getSize() |
void |
setSelectedItem(Object anItem) |
void |
setValues(String[] values) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
public void setValues(String[] values)
public Object getElementAt(int index)
getElementAt
in interface ListModel
public void setSelectedItem(Object anItem)
setSelectedItem
in interface ComboBoxModel
public Object getSelectedItem()
getSelectedItem
in interface ComboBoxModel
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.