public class EditorComboBoxModel extends AbstractListModel
listenerList
Constructor and Description |
---|
EditorComboBoxModel() |
Modifier and Type | Method and Description |
---|---|
void |
addElement(Object anObject) |
void |
addListDataListener(ListDataListener l) |
Object |
getElementAt(int index) |
int |
getIndexOf(Object anObject) |
Object |
getSelectedItem() |
int |
getSize() |
void |
insertElementAt(Object anObject,
int index) |
void |
removeAllElements() |
void |
removeElement(Object anObject) |
void |
removeElementAt(int index) |
void |
removeListDataListener(ListDataListener l) |
void |
setSelectedItem(Object anObject) |
void |
updateElementAt(Object anObject,
int index) |
fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners
public void setSelectedItem(Object anObject)
public Object getSelectedItem()
public int getSize()
public Object getElementAt(int index)
public int getIndexOf(Object anObject)
public void addElement(Object anObject)
public void updateElementAt(Object anObject, int index)
public void insertElementAt(Object anObject, int index)
public void removeElementAt(int index)
public void removeElement(Object anObject)
public void removeAllElements()
public void addListDataListener(ListDataListener l)
addListDataListener
in interface ListModel
addListDataListener
in class AbstractListModel
public void removeListDataListener(ListDataListener l)
removeListDataListener
in interface ListModel
removeListDataListener
in class AbstractListModel
Copyright © 2019 Hitachi Vantara. All rights reserved.