protected class HistoryStringDialog.UniqueModel extends AbstractListModel implements MutableComboBoxModel
listenerList
Constructor and Description |
---|
UniqueModel() |
Modifier and Type | Method and Description |
---|---|
void |
addElement(Object anItem) |
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
int |
getSize() |
void |
insertElementAt(Object anItem,
int index) |
void |
removeElement(Object anItem) |
void |
removeElementAt(int index) |
void |
setSelectedItem(Object anItem) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
public Object getSelectedItem()
getSelectedItem
in interface ComboBoxModel
public void setSelectedItem(Object anItem)
setSelectedItem
in interface ComboBoxModel
public Object getElementAt(int index)
getElementAt
in interface ListModel
public void addElement(Object anItem)
addElement
in interface MutableComboBoxModel
public void insertElementAt(Object anItem, int index)
insertElementAt
in interface MutableComboBoxModel
public void removeElement(Object anItem)
removeElement
in interface MutableComboBoxModel
public void removeElementAt(int index)
removeElementAt
in interface MutableComboBoxModel
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.