@Override
	public Rectangle getCursorRect(int fieldNum, int row, int col) {
		if (fieldNum >= fields.length) { // somehow we got a call where this happened
			return null;
		}
		Field field = fields[fieldNum];
		if (field.isValid(row, col)) {
			Rectangle rect = field.getCursorBounds(row, col);
			rect.y += heightAbove;
			return rect;
		}
		return null;
	}
Returns the row number of this layout with respect to its containing layout.
@return the row number of this layout with respect to its containing layout.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/RowLayout.java