-  
        
       
-  
             
方法摘要
所有方法 实例方法 抽象方法 变量和类型 方法 描述 intselectionForKey(char aKey, ComboBoxModel<?> aModel)给定aKey和模型,返回应该被选中的行。 
 -  
             
 
-  
        
       
-  
             
方法详细信息
-  
selectionForKey
int selectionForKey(char aKey, ComboBoxModel<?> aModel)给定aKey和模型,返回应该被选中的行。 如果未找到匹配则返回-1。- 参数
 -  
              
aKey- char值,通常表示按下的键盘键 -  
              
aModel- ComboBoxModel - 组件的数据模型,包含可选项列表 - 结果
 - an int equal to the selected row, where 0 is the first item and -1 is none.
 
 
 -  
 
 -