/** {@inheritDoc} */ @Override public void dispose() { FilterList filteredSource = (FilterList)source; super.dispose(); filteredSource.dispose(); matcherEditor.dispose(); } }
/** {@inheritDoc} */ @Override public void dispose() { FilterList filteredSource = (FilterList)source; super.dispose(); filteredSource.dispose(); matcherEditor.dispose(); } }
/** {@inheritDoc} */ @Override public void dispose() { FilterList filteredSource = (FilterList)source; super.dispose(); filteredSource.dispose(); matcherEditor.dispose(); } }
/** * Sets the {@link JTextField} used to edit the filter search {@link String}. */ public void setFilterEdit(JTextField filterEdit) { if(filterEdit == this.filterEdit) return; // clean up the old matcher editor boolean live = matcherEditor.isLive(); TextFilterator textFilterator = matcherEditor.getFilterator(); matcherEditor.dispose(); // prepare the new matcher editor this.matcherEditor = new TextComponentMatcherEditor(filterEdit, textFilterator, live); ((FilterList)source).setMatcherEditor(matcherEditor); }
/** * Sets the {@link JTextField} used to edit the filter search {@link String}. */ public void setFilterEdit(JTextField filterEdit) { if(filterEdit == this.filterEdit) return; // clean up the old matcher editor boolean live = matcherEditor.isLive(); TextFilterator textFilterator = matcherEditor.getFilterator(); matcherEditor.dispose(); // prepare the new matcher editor this.matcherEditor = new TextComponentMatcherEditor(filterEdit, textFilterator, live); ((FilterList)source).setMatcherEditor(matcherEditor); }
/** * Sets the {@link JTextField} used to edit the filter search {@link String}. */ public void setFilterEdit(JTextField filterEdit) { if(filterEdit == this.filterEdit) return; // clean up the old matcher editor boolean live = matcherEditor.isLive(); TextFilterator textFilterator = matcherEditor.getFilterator(); matcherEditor.dispose(); // prepare the new matcher editor this.matcherEditor = new TextComponentMatcherEditor(filterEdit, textFilterator, live); ((FilterList)source).setMatcherEditor(matcherEditor); }