Class MoveSpeedComboBoxModel
java.lang.Object
javax.swing.AbstractListModel
model.MoveSpeedComboBoxModel
- All Implemented Interfaces:
Serializable,ComboBoxModel,ListModel
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetElementAt(int index) intgetSize()voidsetSelectedItem(Object anItem) Methods 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
-
Field Details
-
speeds
public static final double[] speeds
-
-
Constructor Details
-
MoveSpeedComboBoxModel
public MoveSpeedComboBoxModel()
-
-
Method Details
-
getElementAt
- Specified by:
getElementAtin interfaceListModel
-
getSize
-
setSelectedItem
- Specified by:
setSelectedItemin interfaceComboBoxModel
-
getSelectedItem
- Specified by:
getSelectedItemin interfaceComboBoxModel
-