1. /*
  2. * @(#)MutableComboBoxModel.java 1.6 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.swing;
  8. /**
  9. * A mutable version of ComboBoxModel.
  10. *
  11. * @version 1.6 11/29/01
  12. * @author Tom Santos
  13. */
  14. public interface MutableComboBoxModel extends ComboBoxModel {
  15. /**
  16. * Adds an item to the end of the model.
  17. */
  18. public void addElement( Object obj );
  19. /**
  20. * Adds an item to the end of the model.
  21. */
  22. public void removeElement( Object obj );
  23. /**
  24. * Adds an item at a specific index
  25. */
  26. public void insertElementAt( Object obj, int index );
  27. /**
  28. * Removes an item at a specific index
  29. */
  30. public void removeElementAt( int index );
  31. }