Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


oracle.jbo.uicli.jui
Class JUCBKeySelectionManager

java.lang.Object
  extended by oracle.jbo.uicli.jui.JUCBKeySelectionManager

All Implemented Interfaces:
javax.swing.JComboBox.KeySelectionManager

public class JUCBKeySelectionManager
extends java.lang.Object
implements javax.swing.JComboBox.KeySelectionManager

This class provides a key selection manager for usage with JComboBox controls. The default implementation of JComboBox.KeySelectionManager selects items based on their toString() value, which is not sufficient in case the items represent oracle.jbo.Row objects. This class recognizes Row items and performs the selection based on the value of the first displayed attribute in the row

Since:
11

Constructor Summary
JUCBKeySelectionManager(JUComboBoxCtrlBinding cb)
           

 

Method Summary
 int selectionForKey(char aKey, javax.swing.ComboBoxModel aModel)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JUCBKeySelectionManager

public JUCBKeySelectionManager(JUComboBoxCtrlBinding cb)

Method Detail

selectionForKey

public int selectionForKey(char aKey,
                           javax.swing.ComboBoxModel aModel)
Specified by:
selectionForKey in interface javax.swing.JComboBox.KeySelectionManager

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


Copyright © 1997, 2012, Oracle. All rights reserved.