charite.christo.strap
Class ProteinComboModel
java.lang.Object
charite.christo.strap.ProteinComboModel
- All Implemented Interfaces:
- HasModiCount, javax.swing.ComboBoxModel, javax.swing.ListModel
public class ProteinComboModel
- extends java.lang.Object
- implements javax.swing.ComboBoxModel, HasModiCount
A choice menu containing for selecting a protein.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProteinComboModel
public ProteinComboModel(long filter)
indexOf
public int indexOf(Protein p)
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
getElementAt
public java.lang.Object getElementAt(int i)
- Specified by:
getElementAt
in interface javax.swing.ListModel
modificationCount
public int modificationCount()
- Specified by:
modificationCount
in interface HasModiCount
getSize
public int getSize()
- Specified by:
getSize
in interface javax.swing.ListModel
setSelectedItem
public void setSelectedItem(java.lang.Object o)
- Specified by:
setSelectedItem
in interface javax.swing.ComboBoxModel
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem
in interface javax.swing.ComboBoxModel
'The most important classes are StrapAlign, Protein and StrapEvent.'