43 |
|
|
44 |
|
|
45 |
/** |
/** |
46 |
* DefaultComboBoxModel is a data model for JComboBox. This model keeps track |
* The default implementation of {@link MutableComboBoxModel}. |
47 |
|
* This model keeps track |
48 |
* of elements contained in the JComboBox as well as the current combo box |
* of elements contained in the JComboBox as well as the current combo box |
49 |
* selection. Whenever selection in the JComboBox changes, the ComboBoxModel |
* selection. Whenever selection in the JComboBox changes, the ComboBoxModel |
50 |
* will fire ListDataEvents to ComboBox's ListDataListeners. |
* will fire ListDataEvents to ComboBox's ListDataListeners. |
52 |
* @author Andrew Selkirk |
* @author Andrew Selkirk |
53 |
* @author Olga Rodimina |
* @author Olga Rodimina |
54 |
* @author Robert Schuster |
* @author Robert Schuster |
|
* @version 1.0 |
|
55 |
*/ |
*/ |
56 |
public class DefaultComboBoxModel extends AbstractListModel |
public class DefaultComboBoxModel extends AbstractListModel |
57 |
implements MutableComboBoxModel, Serializable |
implements MutableComboBoxModel, Serializable |