1. /*
  2. * @(#)ComboBoxModel.java 1.9 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package javax.swing;
  11. /**
  12. * A data model for JComboBox
  13. *
  14. * @version 1.9 02/02/00
  15. * @author Arnaud Weber
  16. */
  17. /** ComboBoxDataModel is a ListDataModel with a selected item
  18. * This selected item is in the model since it is not
  19. * always in the item list.
  20. */
  21. public interface ComboBoxModel extends ListModel {
  22. /** Set the selected item **/
  23. void setSelectedItem(Object anItem);
  24. /** Return the selected item **/
  25. Object getSelectedItem();
  26. }