org.homeunix.thecave.moss.swing.model
Class BackedComboBoxModel<T>

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by org.homeunix.thecave.moss.swing.model.BackedListModel<T>
          extended by org.homeunix.thecave.moss.swing.model.BackedComboBoxModel<T>
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<T>, java.util.Collection<T>, javax.swing.ComboBoxModel, javax.swing.ListModel

public class BackedComboBoxModel<T>
extends BackedListModel<T>
implements javax.swing.ComboBoxModel

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from class org.homeunix.thecave.moss.swing.model.BackedListModel
listModel
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
BackedComboBoxModel()
           
BackedComboBoxModel(java.util.List<T> backingList)
           
 
Method Summary
 java.lang.Object getSelectedItem()
           
 void setSelectedItem(java.lang.Object selectedItem)
           
 
Methods inherited from class org.homeunix.thecave.moss.swing.model.BackedListModel
add, addAll, clear, contains, containsAll, fireListChanged, getElementAt, getSize, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
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, getElementAt, getSize, removeListDataListener
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

BackedComboBoxModel

public BackedComboBoxModel()

BackedComboBoxModel

public BackedComboBoxModel(java.util.List<T> backingList)
Method Detail

getSelectedItem

public java.lang.Object getSelectedItem()
Specified by:
getSelectedItem in interface javax.swing.ComboBoxModel

setSelectedItem

public void setSelectedItem(java.lang.Object selectedItem)
Specified by:
setSelectedItem in interface javax.swing.ComboBoxModel