private void notifyViewChanged() {
		if (layouts.isEmpty()) {
			return;
		}
		AnchoredLayout layout = layouts.get(0);
		BigInteger index = layout.getIndex();
		int yOffset = layout.getYPos();
		for (ViewListener listener : viewListeners) {
			listener.viewChanged(this, index, currentViewXpos, yOffset);
		}
	}
Returns the offset of the cursor from the top of the screen

@return the offset of the cursor from the top of the screen
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java