/** * Creates the recent searches popup menu which will be used by * {@link #install(JXSearchField)} to set a search popup menu on * <code>searchField</code>. * * Override to return a custom popup menu. * * @param searchField * the search field the returned popup menu will be installed on * @return the recent searches popup menu */ protected JPopupMenu createPopupMenu(JTextField searchField) { return new RecentSearchesPopup(this, searchField); }
/** * Creates the recent searches popup menu which will be used by * {@link #install(JXSearchField)} to set a search popup menu on * <code>searchField</code>. * * Override to return a custom popup menu. * * @param searchField * the search field the returned popup menu will be installed on * @return the recent searches popup menu */ protected JPopupMenu createPopupMenu(JTextField searchField) { return new RecentSearchesPopup(this, searchField); }
/** * Creates the recent searches popup menu which will be used by * {@link #install(JXSearchField)} to set a search popup menu on * <code>searchField</code>. * * Override to return a custom popup menu. * * @param searchField * the search field the returned popup menu will be installed on * @return the recent searches popup menu */ protected JPopupMenu createPopupMenu(JTextField searchField) { return new RecentSearchesPopup(this, searchField); }
/** * Creates the recent searches popup menu which will be used by * {@link #install(JXSearchField)} to set a search popup menu on * <code>searchField</code>. * * Override to return a custom popup menu. * * @param searchField * the search field the returned popup menu will be installed on * @return the recent searches popup menu */ protected JPopupMenu createPopupMenu(JTextField searchField) { return new RecentSearchesPopup(this, searchField); }