E - 这个模型的元素的类型 
       public interface ComboBoxModel<E> extends ListModel<E>
ListDataModel ,并添加了所选项目的概念。 
       所选项目通常是组合框显示区域中可见的项目。 
        所选项目可能不一定由底层的ListModel管理。 这种不相交的行为允许在模型中临时存储和检索所选择的项目。 
| Modifier and Type | Method and Description | 
|---|---|
| Object | getSelectedItem()
              返回所选项目 
             | 
| void | setSelectedItem(Object anItem)
              设置所选项目。 
             | 
addListDataListener, getElementAt, getSize, removeListDataListener Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.