public int getViewportPositionAsRow() {
		return viewport.getViewPosition().y / table.getRowHeight();
	}
Returns the table row associated with the top of the viewport.

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