protected void moveMatchBySelection() { // PENDING JW: #718-swingx - don't move selection on not found // complying here is accidental, defaultListSelectionModel doesn't // clear on -1 but silently does nothing // isn't doc'ed anywhere - so we back out if (!hasMatch()) { return; } list.setSelectedIndex(lastSearchResult.foundRow); list.ensureIndexIsVisible(lastSearchResult.foundRow); }
protected void moveMatchBySelection() { // PENDING JW: #718-swingx - don't move selection on not found // complying here is accidental, defaultListSelectionModel doesn't // clear on -1 but silently does nothing // isn't doc'ed anywhere - so we back out if (!hasMatch()) { return; } list.setSelectedIndex(lastSearchResult.foundRow); list.ensureIndexIsVisible(lastSearchResult.foundRow); }
protected void moveMatchBySelection() { // PENDING JW: #718-swingx - don't move selection on not found // complying here is accidental, defaultListSelectionModel doesn't // clear on -1 but silently does nothing // isn't doc'ed anywhere - so we back out if (!hasMatch()) { return; } list.setSelectedIndex(lastSearchResult.foundRow); list.ensureIndexIsVisible(lastSearchResult.foundRow); }
protected void moveMatchBySelection() { // PENDING JW: #718-swingx - don't move selection on not found // complying here is accidental, defaultListSelectionModel doesn't // clear on -1 but silently does nothing // isn't doc'ed anywhere - so we back out if (!hasMatch()) { return; } list.setSelectedIndex(lastSearchResult.foundRow); list.ensureIndexIsVisible(lastSearchResult.foundRow); }
protected void moveMatchBySelection() { // PENDING JW: #718-swingx - don't move selection on not found // complying here is accidental, defaultListSelectionModel doesn't // clear on -1 but silently does nothing // isn't doc'ed anywhere - so we back out if (!hasMatch()) { return; } list.setSelectedIndex(lastSearchResult.foundRow); list.ensureIndexIsVisible(lastSearchResult.foundRow); }
/** * use and move the match highlighter. * PRE: markByHighlighter * */ protected void moveMatchByHighlighter() { AbstractHighlighter searchHL = getConfiguredMatchHighlighter(); // no match if (!hasMatch()) { return; } else { ensureInsertedSearchHighlighters(searchHL); list.ensureIndexIsVisible(lastSearchResult.foundRow); } }
/** * use and move the match highlighter. * PRE: markByHighlighter * */ protected void moveMatchByHighlighter() { AbstractHighlighter searchHL = getConfiguredMatchHighlighter(); // no match if (!hasMatch()) { return; } else { ensureInsertedSearchHighlighters(searchHL); list.ensureIndexIsVisible(lastSearchResult.foundRow); } }
/** * use and move the match highlighter. * PRE: markByHighlighter * */ protected void moveMatchByHighlighter() { AbstractHighlighter searchHL = getConfiguredMatchHighlighter(); // no match if (!hasMatch()) { return; } else { ensureInsertedSearchHighlighters(searchHL); list.ensureIndexIsVisible(lastSearchResult.foundRow); } }
/** * use and move the match highlighter. * PRE: markByHighlighter * */ protected void moveMatchByHighlighter() { AbstractHighlighter searchHL = getConfiguredMatchHighlighter(); // no match if (!hasMatch()) { return; } else { ensureInsertedSearchHighlighters(searchHL); list.ensureIndexIsVisible(lastSearchResult.foundRow); } }
/** * use and move the match highlighter. * PRE: markByHighlighter * */ protected void moveMatchByHighlighter() { AbstractHighlighter searchHL = getConfiguredMatchHighlighter(); // no match if (!hasMatch()) { return; } else { ensureInsertedSearchHighlighters(searchHL); list.ensureIndexIsVisible(lastSearchResult.foundRow); } }