public boolean isInViewport(int row) {
		int viewportRowStart = viewport.getViewPosition().y / table.getRowHeight();
		int viewportRowEnd = viewportRowStart + viewport.getHeight() / table.getRowHeight();

		return (row >= viewportRowStart && row <= viewportRowEnd);
	}
Returns true if the given row is in the viewport.

@param row

@return
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/ui/ViewportUtility.java