Class MemoryOrGVComboIcon.ComboModel

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.ComboBoxModel<java.lang.String>, javax.swing.ListModel<java.lang.String>, javax.swing.MutableComboBoxModel<java.lang.String>
    Enclosing class:
    MemoryOrGVComboIcon

    protected class MemoryOrGVComboIcon.ComboModel
    extends javax.swing.DefaultComboBoxModel<java.lang.String>
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.AbstractListModel

        listenerList
    • Constructor Summary

      Constructors 
      Constructor Description
      ComboModel()  
      ComboModel​(java.lang.String[] l)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addElement​(java.lang.String obj)  
      void insertElementAt​(java.lang.String obj, int idx)  
      • Methods inherited from class javax.swing.DefaultComboBoxModel

        addAll, addAll, getElementAt, getIndexOf, getSelectedItem, getSize, 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
    • Method Detail

      • addElement

        public void addElement​(java.lang.String obj)
        Specified by:
        addElement in interface javax.swing.MutableComboBoxModel<java.lang.String>
        Overrides:
        addElement in class javax.swing.DefaultComboBoxModel<java.lang.String>
      • insertElementAt

        public void insertElementAt​(java.lang.String obj,
                                    int idx)
        Specified by:
        insertElementAt in interface javax.swing.MutableComboBoxModel<java.lang.String>
        Overrides:
        insertElementAt in class javax.swing.DefaultComboBoxModel<java.lang.String>