com.tensegrity.palowebviewer.modules.widgets.client.combobox
Class ListComboboxModel

java.lang.Object
  extended by com.tensegrity.palowebviewer.modules.widgets.client.list.DefaultListModel
      extended by com.tensegrity.palowebviewer.modules.widgets.client.combobox.ListComboboxModel
All Implemented Interfaces:
IComboboxModel, IListComboboxModel, IListModel
Direct Known Subclasses:
SubsetComboboxModel

public class ListComboboxModel
extends DefaultListModel
implements IListComboboxModel

Simple impelentation for IListComboboxModel.


Field Summary
protected  ComboboxListenerCollection comboboxListners
           
 
Fields inherited from class com.tensegrity.palowebviewer.modules.widgets.client.list.DefaultListModel
listeners
 
Constructor Summary
ListComboboxModel()
           
 
Method Summary
 void addComboboxListener(IComboboxListener listener)
           
 java.lang.Object getSelectedItem()
           
 void removeComboboxListener(IComboboxListener listener)
           
 void setSelectedItem(java.lang.Object item)
           
 
Methods inherited from class com.tensegrity.palowebviewer.modules.widgets.client.list.DefaultListModel
addItem, addItems, addListModelListener, getElementAt, getSize, removeItem, removeItems, removeListModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.tensegrity.palowebviewer.modules.widgets.client.list.IListModel
addListModelListener, getElementAt, getSize, removeListModelListener
 

Field Detail

comboboxListners

protected final ComboboxListenerCollection comboboxListners
Constructor Detail

ListComboboxModel

public ListComboboxModel()
Method Detail

addComboboxListener

public void addComboboxListener(IComboboxListener listener)
Specified by:
addComboboxListener in interface IComboboxModel

removeComboboxListener

public void removeComboboxListener(IComboboxListener listener)
Specified by:
removeComboboxListener in interface IComboboxModel

getSelectedItem

public java.lang.Object getSelectedItem()
Specified by:
getSelectedItem in interface IComboboxModel

setSelectedItem

public void setSelectedItem(java.lang.Object item)
Specified by:
setSelectedItem in interface IComboboxModel