Protege-2000 1.7

edu.stanford.smi.protegex.util
Class AlphabeticalComboBoxModel

java.lang.Object
  |
  +--javax.swing.AbstractListModel
        |
        +--edu.stanford.smi.protegex.util.AlphabeticalComboBoxModel
All Implemented Interfaces:
ComboBoxModel, ListModel, Serializable

public class AlphabeticalComboBoxModel
extends AbstractListModel
implements ComboBoxModel

Description of the class

Author:
William Grosso
See Also:
Serialized Form

Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
AlphabeticalComboBoxModel()
           
AlphabeticalComboBoxModel(Collection contents)
           
 
Method Summary
 Object getElementAt(int index)
           
 Object getSelectedItem()
           
 int getSize()
           
 void setContents(Collection newContents)
           
 void setSelectedItem(Object anItem)
           
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, 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
 

Constructor Detail

AlphabeticalComboBoxModel

public AlphabeticalComboBoxModel()

AlphabeticalComboBoxModel

public AlphabeticalComboBoxModel(Collection contents)
Method Detail

getElementAt

public Object getElementAt(int index)
Specified by:
getElementAt in interface ListModel
Overrides:
getElementAt in class AbstractListModel

getSelectedItem

public Object getSelectedItem()
Specified by:
getSelectedItem in interface ComboBoxModel

getSize

public int getSize()
Specified by:
getSize in interface ListModel
Overrides:
getSize in class AbstractListModel

setContents

public void setContents(Collection newContents)

setSelectedItem

public void setSelectedItem(Object anItem)
Specified by:
setSelectedItem in interface ComboBoxModel

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.