- Type Parameters:
E - the element type
- All Implemented Interfaces:
- JComboBox.KeySelectionManager
- Enclosing class:
- FormComboBox<E>
public class FormComboBox.MultiKeySelectionManager<E>
extends Object
implements JComboBox.KeySelectionManager
The standard key selection manager selects the first item that starts with
a given character.
This MultiKeySelectionManager keeps an internal "lead-string" of possibly more than one char.
Thus typing "AE" selects the first item starting with that string.
Pressing the erase or delete button will clear the "lead-string".
To make use of it: setKeySelectionManager(new FormComboBox.MultiKeySelectionManager());
or setMultiKeySelectionManager(true);