org.owasp.webscarab.util.swing
Class ListComboBoxModel
java.lang.Object
javax.swing.AbstractListModel
org.owasp.webscarab.util.swing.ListComboBoxModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel
public class ListComboBoxModel
- extends javax.swing.AbstractListModel
- implements javax.swing.ComboBoxModel
- Author:
- rdawes
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Constructor Summary |
ListComboBoxModel(javax.swing.ListModel list)
Creates a new instance of ListComboBoxModel |
Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.ListModel |
addListDataListener, removeListDataListener |
ListComboBoxModel
public ListComboBoxModel(javax.swing.ListModel list)
- Creates a new instance of ListComboBoxModel
getElementAt
public java.lang.Object getElementAt(int index)
- Specified by:
getElementAt
in interface javax.swing.ListModel
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem
in interface javax.swing.ComboBoxModel
getSize
public int getSize()
- Specified by:
getSize
in interface javax.swing.ListModel
setSelectedItem
public void setSelectedItem(java.lang.Object anItem)
- Specified by:
setSelectedItem
in interface javax.swing.ComboBoxModel
main
public static void main(java.lang.String[] argList)