Version: 1.1.1

org.inb.biomoby.central.gui.renderer
Class ObjectTypeTableCellEditor.ObjectTypeComboBoxModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by org.inb.biomoby.central.gui.renderer.ObjectTypeTableCellEditor.ObjectTypeComboBoxModel
All Implemented Interfaces:
Serializable, ComboBoxModel, ListModel, ModelListener<ObjectType>
Enclosing class:
ObjectTypeTableCellEditor

public static class ObjectTypeTableCellEditor.ObjectTypeComboBoxModel
extends AbstractListModel
implements ComboBoxModel, ModelListener<ObjectType>

See Also:
Serialized Form

Constructor Summary
ObjectTypeTableCellEditor.ObjectTypeComboBoxModel(AbstractModel<ObjectType> model)
           
 
Method Summary
 Object getElementAt(int index)
           
 Object getSelectedItem()
           
 int getSize()
           
 void modelCleared()
           
 void modelObjectChanged(ObjectType objectType1, ObjectType objectType2)
           
 void modelObjectInserted(ObjectType objectType)
           
 void modelObjectRemoved(ObjectType objectType)
           
 void setSelectedItem(Object item)
           
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Constructor Detail

ObjectTypeTableCellEditor.ObjectTypeComboBoxModel

public ObjectTypeTableCellEditor.ObjectTypeComboBoxModel(AbstractModel<ObjectType> model)
Method Detail

modelCleared

public void modelCleared()
Specified by:
modelCleared in interface ModelListener<ObjectType>

modelObjectInserted

public void modelObjectInserted(ObjectType objectType)
Specified by:
modelObjectInserted in interface ModelListener<ObjectType>

modelObjectRemoved

public void modelObjectRemoved(ObjectType objectType)
Specified by:
modelObjectRemoved in interface ModelListener<ObjectType>

modelObjectChanged

public void modelObjectChanged(ObjectType objectType1,
                               ObjectType objectType2)
Specified by:
modelObjectChanged in interface ModelListener<ObjectType>

getSize

public int getSize()
Specified by:
getSize in interface ListModel

getElementAt

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

setSelectedItem

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

getSelectedItem

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

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010