/** * Configures the match highlighter to the current match. Ensures that the * matched cell is visible, if there is a match. * * PRE: markByHighlighter * */ protected void moveMatchByHighlighter() { AbstractHighlighter searchHL = getConfiguredMatchHighlighter(); // no match if (!hasMatch()) { return; } else { ensureInsertedSearchHighlighters(searchHL); table.scrollCellToVisible(lastSearchResult.foundRow, lastSearchResult.foundColumn); } }
/** * Configures the match highlighter to the current match. Ensures that the * matched cell is visible, if there is a match. * * PRE: markByHighlighter * */ protected void moveMatchByHighlighter() { AbstractHighlighter searchHL = getConfiguredMatchHighlighter(); // no match if (!hasMatch()) { return; } else { ensureInsertedSearchHighlighters(searchHL); table.scrollCellToVisible(lastSearchResult.foundRow, lastSearchResult.foundColumn); } }
/** * Configures the match highlighter to the current match. Ensures that the * matched cell is visible, if there is a match. * * PRE: markByHighlighter * */ protected void moveMatchByHighlighter() { AbstractHighlighter searchHL = getConfiguredMatchHighlighter(); // no match if (!hasMatch()) { return; } else { ensureInsertedSearchHighlighters(searchHL); table.scrollCellToVisible(lastSearchResult.foundRow, lastSearchResult.foundColumn); } }
/** * Configures the match highlighter to the current match. Ensures that the * matched cell is visible, if there is a match. * * PRE: markByHighlighter * */ protected void moveMatchByHighlighter() { AbstractHighlighter searchHL = getConfiguredMatchHighlighter(); // no match if (!hasMatch()) { return; } else { ensureInsertedSearchHighlighters(searchHL); table.scrollCellToVisible(lastSearchResult.foundRow, lastSearchResult.foundColumn); } }
/** * Configures the match highlighter to the current match. Ensures that the * matched cell is visible, if there is a match. * * PRE: markByHighlighter * */ protected void moveMatchByHighlighter() { AbstractHighlighter searchHL = getConfiguredMatchHighlighter(); // no match if (!hasMatch()) { return; } else { ensureInsertedSearchHighlighters(searchHL); table.scrollCellToVisible(lastSearchResult.foundRow, lastSearchResult.foundColumn); } }
/** * Moves the row selection to the matching cell and ensures its visibility, * if any. Does nothing if there is no match. * */ protected void moveMatchBySelection() { if (!hasMatch()) { return; } int row = lastSearchResult.foundRow; int column = lastSearchResult.foundColumn; table.changeSelection(row, column, false, false); if (!table.getAutoscrolls()) { // scrolling not handled by moving selection Rectangle cellRect = table.getCellRect(row, column, true); if (cellRect != null) { table.scrollRectToVisible(cellRect); } } }
/** * Moves the row selection to the matching cell and ensures its visibility, * if any. Does nothing if there is no match. * */ protected void moveMatchBySelection() { if (!hasMatch()) { return; } int row = lastSearchResult.foundRow; int column = lastSearchResult.foundColumn; table.changeSelection(row, column, false, false); if (!table.getAutoscrolls()) { // scrolling not handled by moving selection Rectangle cellRect = table.getCellRect(row, column, true); if (cellRect != null) { table.scrollRectToVisible(cellRect); } } }
/** * Moves the row selection to the matching cell and ensures its visibility, * if any. Does nothing if there is no match. * */ protected void moveMatchBySelection() { if (!hasMatch()) { return; } int row = lastSearchResult.foundRow; int column = lastSearchResult.foundColumn; table.changeSelection(row, column, false, false); if (!table.getAutoscrolls()) { // scrolling not handled by moving selection Rectangle cellRect = table.getCellRect(row, column, true); if (cellRect != null) { table.scrollRectToVisible(cellRect); } } }
/** * Moves the row selection to the matching cell and ensures its visibility, * if any. Does nothing if there is no match. * */ protected void moveMatchBySelection() { if (!hasMatch()) { return; } int row = lastSearchResult.foundRow; int column = lastSearchResult.foundColumn; table.changeSelection(row, column, false, false); if (!table.getAutoscrolls()) { // scrolling not handled by moving selection Rectangle cellRect = table.getCellRect(row, column, true); if (cellRect != null) { table.scrollRectToVisible(cellRect); } } }
/** * Moves the row selection to the matching cell and ensures its visibility, * if any. Does nothing if there is no match. * */ protected void moveMatchBySelection() { if (!hasMatch()) { return; } int row = lastSearchResult.foundRow; int column = lastSearchResult.foundColumn; table.changeSelection(row, column, false, false); if (!table.getAutoscrolls()) { // scrolling not handled by moving selection Rectangle cellRect = table.getCellRect(row, column, true); if (cellRect != null) { table.scrollRectToVisible(cellRect); } } }