Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
public interface: JComboBox.KeySelectionManager [javadoc | source]

All Known Implementing Classes:
    DefaultKeySelectionManager, DefaultKeySelectionManager

The interface that defines a KeySelectionManager. To qualify as a KeySelectionManager, the class needs to implement the method that identifies the list index given a character and the combo box data model.
Method from javax.swing.JComboBox$KeySelectionManager Summary:
selectionForKey
Method from javax.swing.JComboBox$KeySelectionManager Detail:
 public int selectionForKey(char aKey,
    ComboBoxModel aModel)
    Given aKey and the model, returns the row that should become selected. Return -1 if no match was found.