Protege 2.1.1

edu.stanford.smi.protegex.queries_tab
Class SlotsModel

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended byjavax.swing.DefaultComboBoxModel
          extended byedu.stanford.smi.protegex.queries_tab.SlotsModel
All Implemented Interfaces:
ComboBoxModel, ListModel, MutableComboBoxModel, Serializable

public class SlotsModel
extends DefaultComboBoxModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
SlotsModel(String[] names, String[] types, Collection slotCol)
           
 
Method Summary
 String[] getSlotNames()
           
 Collection getSlots()
           
 String[] getSlotTypes()
           
 String getType()
           
 void initialize(String[] names, String[] types, Collection slotCol)
           
 void removeName(String name)
           
 void setUpComboBox(String type)
           
 
Methods inherited from class javax.swing.DefaultComboBoxModel
addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem
 
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
 

Constructor Detail

SlotsModel

public SlotsModel(String[] names,
                  String[] types,
                  Collection slotCol)
Method Detail

getSlotNames

public String[] getSlotNames()

getSlots

public Collection getSlots()

getSlotTypes

public String[] getSlotTypes()

getType

public String getType()

initialize

public void initialize(String[] names,
                       String[] types,
                       Collection slotCol)

removeName

public void removeName(String name)

setUpComboBox

public void setUpComboBox(String type)

Protege 2.1.1

Submit a bug report or feature request