Package jmri.jmrit.display
Class MemoryOrGVComboIcon.ComboModel
- All Implemented Interfaces:
Serializable,ComboBoxModel<String>,ListModel<String>,MutableComboBoxModel<String>
- Enclosing class:
- MemoryOrGVComboIcon
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(String obj) voidinsertElementAt(String obj, int idx) Methods inherited from class javax.swing.DefaultComboBoxModel
addAll, addAll, getElementAt, getIndexOf, getSelectedItem, getSize, removeAllElements, removeElement, removeElementAt, setSelectedItemMethods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
-
Constructor Details
-
ComboModel
-
ComboModel
ComboModel(String[] l)
-
-
Method Details
-
addElement
- Specified by:
addElementin interfaceMutableComboBoxModel<String>- Overrides:
addElementin classDefaultComboBoxModel<String>
-
insertElementAt
- Specified by:
insertElementAtin interfaceMutableComboBoxModel<String>- Overrides:
insertElementAtin classDefaultComboBoxModel<String>
-