Class MapComboBoxModel

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel

    public class MapComboBoxModel
    extends MapListModel
    implements javax.swing.ComboBoxModel
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.AbstractListModel

        listenerList
    • Constructor Summary

      Constructors 
      Constructor Description
      MapComboBoxModel​(java.util.Map m)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getSelectedItem()  
      void setSelectedItem​(java.lang.Object anItem)  
      • 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
    • Constructor Detail

      • MapComboBoxModel

        public MapComboBoxModel​(java.util.Map m)
    • Method Detail

      • getSelectedItem

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

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