charite.christo
Class JListModel
java.lang.Object
charite.christo.JListModel
- All Implemented Interfaces:
- javax.swing.ComboBoxModel, javax.swing.ListModel
public class JListModel
- extends java.lang.Object
- implements javax.swing.ComboBoxModel
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JListModel
public JListModel(java.util.List li)
getSize
public int getSize()
- Specified by:
getSize
in interface javax.swing.ListModel
getElementAt
public java.lang.Object getElementAt(int i)
- Specified by:
getElementAt
in interface javax.swing.ListModel
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener
in interface javax.swing.ListModel
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener
in interface javax.swing.ListModel
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem
in interface javax.swing.ComboBoxModel
setSelectedItem
public void setSelectedItem(java.lang.Object o)
- Specified by:
setSelectedItem
in interface javax.swing.ComboBoxModel
'The most important classes are StrapAlign, Protein and StrapEvent.'