public ListPopupModel(ElementFilter filter, SpeedSearch speedSearch, ListPopupStep step) { myFilter = filter; myStep = step; mySpeedSearch = speedSearch; myOriginalList = new ArrayList<Object>(step.getValues()); rebuildLists(); }
public ListPopupModel(ElementFilter filter, SpeedSearch speedSearch, ListPopupStep step) { myFilter = filter; myStep = step; mySpeedSearch = speedSearch; myOriginalList = new ArrayList<>(step.getValues()); rebuildLists(); }
/** * Disables speed search. * * @param popup the popup to disable speed search for */ public static void disableSpeedSearch(final ListPopupImpl popup) { final SpeedSearch speedSearch = popup.getSpeedSearch(); speedSearch.setEnabled(false); speedSearch.addChangeListener(event -> speedSearch.updatePattern("")); }
public SpeedSearch getSpeedSearch() { return mySpeedSearch; }
public static void processKeyEvent(SpeedSearch search, KeyEvent e) { search.process(e); }
public static void processKeyEvent(SpeedSearch search, KeyEvent e) { search.processKeyEvent(e); }