| Modifier and Type | Method and Description | 
|---|---|
| int | selectionForKey(char aKey, ComboBoxModel aModel)
              给定 
              aKey和模型,返回应该被选择的行。 | 
int selectionForKey(char aKey,
                    ComboBoxModel aModel) 
          aKey和模型,返回应该被选择的行。 
           如果没有找到匹配项,则返回-1。 
          aKey - 一个char值,通常表示被按下的键盘键 
           aModel - ComboBoxModel - 组件的数据模型,包含可选项目列表 
            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.