Interface JComboBox.KeySelectionManager

Enclosing class:
JComboBox<E>

public static interface JComboBox.KeySelectionManager
The JDK's nested interface, ported so a migrated new JComboBox.KeySelectionManager() { … } still compiles after the import swap. Its model argument is a javax.swing.ComboBoxModel, which SB-Emulators reuses rather than ports.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    selectionForKey(char aKey, ComboBoxModel<?> aModel)
     
  • Method Details

    • selectionForKey

      int selectionForKey(char aKey, ComboBoxModel<?> aModel)
      Returns:
      the row aKey should select, or -1 for no match